| Class | Name | Status | Type | Time(s) |
| Base64Test | testBase64 | Success | | 0.026 |
| Base64Test | testBase64EncodeInt | Success | | 0.006 |
| Base64VLQTest | testBase64VLQSelectedValues1 | Success | | 0.002 |
| Base64VLQTest | testBase64VLQSelectedValues2 | Success | | 0.001 |
| Base64VLQTest | testBase64VLQSelectedSignedValues1 | Success | | 0.032 |
| Base64VLQTest | testBase64VLQSelectedSignedValues2 | Success | | 0.000 |
| Base64VLQTest | testSpeed | Success | | 0.087 |
| SourceMapConsumerV3Test | testSources | Success | | 0.070 |
| SourceMapConsumerV3Test | testMap | Success | | 0.009 |
| SourceMapConsumerV3Test | testSourcesWithRoot | Success | | 0.001 |
| SourceMapConsumerV3Test | testExtensions | Success | | 0.001 |
| SourceMapGeneratorV3Test | testBasicMapping1 | Success | | 0.373 |
| SourceMapGeneratorV3Test | testBasicMappingGoldenOutput | Success | | 0.006 |
| SourceMapGeneratorV3Test | testBasicMapping2 | Success | | 0.009 |
| SourceMapGeneratorV3Test | testLiteralMappings | Success | | 0.008 |
| SourceMapGeneratorV3Test | testLiteralMappingsGoldenOutput | Success | | 0.010 |
| SourceMapGeneratorV3Test | testMultilineMapping | Success | | 0.009 |
| SourceMapGeneratorV3Test | testMultilineMapping2 | Success | | 0.008 |
| SourceMapGeneratorV3Test | testMultiFunctionMapping | Success | | 0.008 |
| SourceMapGeneratorV3Test | testGoldenOutput0 | Success | | 0.006 |
| SourceMapGeneratorV3Test | testGoldenOutput0a | Success | | 0.008 |
| SourceMapGeneratorV3Test | testGoldenOutput1 | Success | | 0.020 |
| SourceMapGeneratorV3Test | testGoldenOutput2 | Success | | 0.009 |
| SourceMapGeneratorV3Test | testGoldenOutput3 | Success | | 0.007 |
| SourceMapGeneratorV3Test | testGoldenOutput4 | Success | | 0.006 |
| SourceMapGeneratorV3Test | testGoldenOutput5 | Success | | 0.031 |
| SourceMapGeneratorV3Test | testBasicDeterminism | Success | | 0.008 |
| SourceMapGeneratorV3Test | testWriteMetaMap | Success | | 0.001 |
| SourceMapGeneratorV3Test | testWriteMetaMap2 | Success | | 0.001 |
| SourceMapGeneratorV3Test | testParseSourceMetaMap | Success | | 0.013 |
| SourceMapGeneratorV3Test | testSourceMapMerging | Success | | 0.011 |
| SourceMapGeneratorV3Test | testSourceMapExtensions | Success | | 0.002 |
| SourceMapGeneratorV3Test | testSourceMapMergeExtensions | Success | | 0.002 |
| SourceMapGeneratorV3Test | testSourceRoot | Success | | 0.001 |
| AliasExternalsTest | testNoAliasAnnotationForMultiVarDeclaration | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AliasExternalsTest.testNoAliasAnnotationForMultiVarDeclaration(AliasExternalsTest.java:364) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.056 |
| AliasExternalsTest | testNoAliasAnnotationForFunction | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.AliasExternalsTest.testNoAliasAnnotationForFunction(AliasExternalsTest.java:373) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.015 |
| AliasExternalsTest | testGlobalAlias | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AliasExternalsTest.testGlobalAlias(AliasExternalsTest.java:67) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.014 |
| AliasExternalsTest | testUnaliasable | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AliasExternalsTest.testUnaliasable(AliasExternalsTest.java:89) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.013 |
| AliasExternalsTest | testAliasableGlobals | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AliasExternalsTest.testAliasableGlobals(AliasExternalsTest.java:132) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.018 |
| AliasExternalsTest | testAliasableAndUnaliasableGlobals | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AliasExternalsTest.testAliasableAndUnaliasableGlobals(AliasExternalsTest.java:174) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.013 |
| AliasExternalsTest | testGlobalAssignment | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AliasExternalsTest.testGlobalAssignment(AliasExternalsTest.java:196) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.017 |
| AliasExternalsTest | testNewOperator | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AliasExternalsTest.testNewOperator(AliasExternalsTest.java:212) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.016 |
| AliasExternalsTest | testGetProp | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AliasExternalsTest.testGetProp(AliasExternalsTest.java:223) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.015 |
| AliasExternalsTest | testIgnoredOps | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.AliasExternalsTest.testIgnoredOps(AliasExternalsTest.java:236) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.012 |
| AliasExternalsTest | testSetProp | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AliasExternalsTest.testSetProp(AliasExternalsTest.java:246) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.009 |
| AliasExternalsTest | testParentChild | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AliasExternalsTest.testParentChild(AliasExternalsTest.java:257) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.012 |
| AliasExternalsTest | testModulesWithoutDependencies | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.AliasExternalsTest.testModulesWithoutDependencies(AliasExternalsTest.java:271) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.008 |
| AliasExternalsTest | testModulesWithDependencies | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.AliasExternalsTest.testModulesWithDependencies(AliasExternalsTest.java:283) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.014 |
| AliasExternalsTest | testPropAccessorPushedDeeper1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.AliasExternalsTest.testPropAccessorPushedDeeper1(AliasExternalsTest.java:291) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.006 |
| AliasExternalsTest | testPropAccessorPushedDeeper2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.AliasExternalsTest.testPropAccessorPushedDeeper2(AliasExternalsTest.java:298) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.007 |
| AliasExternalsTest | testPropAccessorPushedDeeper3 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.AliasExternalsTest.testPropAccessorPushedDeeper3(AliasExternalsTest.java:307) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.007 |
| AliasExternalsTest | testPropAccessorNotPushedDeeper | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.AliasExternalsTest.testPropAccessorNotPushedDeeper(AliasExternalsTest.java:316) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.006 |
| AliasExternalsTest | testPropMutatorPushedDeeper | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.AliasExternalsTest.testPropMutatorPushedDeeper(AliasExternalsTest.java:325) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.004 |
| AliasExternalsTest | testPropMutatorNotPushedDeeper | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.AliasExternalsTest.testPropMutatorNotPushedDeeper(AliasExternalsTest.java:332) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.005 |
| AliasExternalsTest | testGlobalAliasPushedDeeper | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.AliasExternalsTest.testGlobalAliasPushedDeeper(AliasExternalsTest.java:340) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.006 |
| AliasExternalsTest | testGlobalAliasNotPushedDeeper | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.AliasExternalsTest.testGlobalAliasNotPushedDeeper(AliasExternalsTest.java:350) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.006 |
| AliasExternalsTest | testNoAliasAnnotationForSingleVar | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant.
Node(NAME GLOBAL__USER_ID): [source unknown]
Parent(VAR): [source unknown]
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name GLOBAL__USER_ID is not annotated as constant. Node(NAME GLOBAL__USER_ID): [source unknown] Parent(VAR): [source unknown]
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.AliasExternalsTest.testNoAliasAnnotationForSingleVar(AliasExternalsTest.java:360) Caused by: java.lang.IllegalStateException: The name GLOBAL__USER_ID is not annotated as constant.
| 0.008 |
| AliasStringsTest | testGetProp | Success | | 0.024 |
| AliasStringsTest | testAssignment | Success | | 0.063 |
| AliasStringsTest | testSeveral | Success | | 0.010 |
| AliasStringsTest | testSortedOutput | Success | | 0.017 |
| AliasStringsTest | testObjectLiterals | Success | | 0.044 |
| AliasStringsTest | testFunctionCalls | Success | | 0.017 |
| AliasStringsTest | testRegularExpressions | Success | | 0.005 |
| AliasStringsTest | testBlackList | Success | | 0.008 |
| AliasStringsTest | testLongStableAlias | Success | | 0.014 |
| AliasStringsTest | testLongStableAliasHashCollision | Success | | 0.006 |
| AliasStringsTest | testStringsThatAreGlobalVarValues | Success | | 0.047 |
| AliasStringsTest | testStringsInModules | Success | | 0.011 |
| AliasStringsTest | testStringsInModules2 | Success | | 0.006 |
| AliasStringsTest | testEmptyModules | Success | | 0.004 |
| AmbiguatePropertiesTest | testOneVar2 | Success | | 0.059 |
| AmbiguatePropertiesTest | testOneVar1 | Success | | 0.016 |
| AmbiguatePropertiesTest | testOneVar3 | Success | | 0.015 |
| AmbiguatePropertiesTest | testOneVar4 | Success | | 0.015 |
| AmbiguatePropertiesTest | testTwoVar1 | Success | | 0.014 |
| AmbiguatePropertiesTest | testTwoVar2 | Success | | 0.013 |
| AmbiguatePropertiesTest | testTwoIndependentVar | Success | | 0.013 |
| AmbiguatePropertiesTest | testTwoTypesTwoVar | Success | | 0.020 |
| AmbiguatePropertiesTest | testUnion | Success | | 0.016 |
| AmbiguatePropertiesTest | testUnions | Success | | 0.025 |
| AmbiguatePropertiesTest | testExtends | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 5 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 5 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AmbiguatePropertiesTest.testExtends(AmbiguatePropertiesTest.java:236)
| 0.018 |
| AmbiguatePropertiesTest | testLotsOfVars | Success | | 0.034 |
| AmbiguatePropertiesTest | testLotsOfClasses | Success | | 0.035 |
| AmbiguatePropertiesTest | testFunctionType | Success | | 0.015 |
| AmbiguatePropertiesTest | testPrototypePropertiesAsObjLitKeys1 | Success | | 0.014 |
| AmbiguatePropertiesTest | testPrototypePropertiesAsObjLitKeys2 | Success | | 0.014 |
| AmbiguatePropertiesTest | testQuotedPrototypeProperty | Success | | 0.015 |
| AmbiguatePropertiesTest | testOverlappingOriginalAndGeneratedNames | Success | | 0.019 |
| AmbiguatePropertiesTest | testPropertyAddedToObject | Success | | 0.015 |
| AmbiguatePropertiesTest | testPropertyAddedToFunction | Success | | 0.012 |
| AmbiguatePropertiesTest | testPropertyOfObjectOfUnknownType | Success | | 0.012 |
| AmbiguatePropertiesTest | testPropertyOnParamOfUnknownType | Success | | 0.021 |
| AmbiguatePropertiesTest | testSetPropertyOfGlobalThis | Success | | 0.010 |
| AmbiguatePropertiesTest | testReadPropertyOfGlobalThis | Success | | 0.011 |
| AmbiguatePropertiesTest | testSetQuotedPropertyOfThis | Success | | 0.010 |
| AmbiguatePropertiesTest | testExternedPropertyName | Success | | 0.016 |
| AmbiguatePropertiesTest | testExternedPropertyNameDefinedByObjectLiteral | Success | | 0.009 |
| AmbiguatePropertiesTest | testStaticAndInstanceMethodWithSameName | Success | | 0.011 |
| AmbiguatePropertiesTest | testStaticAndInstanceProperties | Success | | 0.009 |
| AmbiguatePropertiesTest | testStaticAndSubInstanceProperties | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 5 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 5 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AmbiguatePropertiesTest.testStaticAndSubInstanceProperties(AmbiguatePropertiesTest.java:399)
| 0.011 |
| AmbiguatePropertiesTest | testStaticWithFunctions | Success | | 0.050 |
| AmbiguatePropertiesTest | testTypeMismatch | Success | | 0.010 |
| AmbiguatePropertiesTest | testRenamingMap | Success | | 0.009 |
| AmbiguatePropertiesTest | testInline | Success | | 0.016 |
| AmbiguatePropertiesTest | testImplementsAndExtends | Success | | 0.017 |
| AmbiguatePropertiesTest | testImplementsAndExtends2 | Success | | 0.014 |
| AmbiguatePropertiesTest | testExtendsInterface | Success | | 0.017 |
| AmbiguatePropertiesTest | testFunctionSubType | Success | | 0.009 |
| AmbiguatePropertiesTest | testFunctionSubType2 | Success | | 0.011 |
| AmbiguatePropertiesTest | testPredeclaredType | Failure | Unexpected warning(s): JSC_TYPE_MISMATCH. No properties on this expression
found : (null)
required: Object at testcode line 1 : 137 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_TYPE_MISMATCH. No properties on this expression found : (null) required: Object at testcode line 1 : 137 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.AmbiguatePropertiesTest.testPredeclaredType(AmbiguatePropertiesTest.java:601)
| 0.013 |
| AmbiguatePropertiesTest | testBug14291280 | Success | | 0.014 |
| AngularPassTest | testNgInjectAddsInjectToFunctions | Success | | 0.012 |
| AngularPassTest | testNgInjectAddsInjectAfterGoogInherits | Success | | 0.009 |
| AngularPassTest | testNgInjectAddsInjectToProps | Success | | 0.011 |
| AngularPassTest | testNgInjectAddsInjectToNestedProps | Success | | 0.011 |
| AngularPassTest | testNgInjectAddsInjectToVars | Success | | 0.007 |
| AngularPassTest | testNgInjectAddsInjectToVarsWithChainedAssignment | Success | | 0.007 |
| AngularPassTest | testNgInjectInBlock | Success | | 0.012 |
| AngularPassTest | testNgInjectAddsToTheRightBlock | Success | | 0.006 |
| AngularPassTest | testNgInjectInNonBlock | Success | | 0.005 |
| AngularPassTest | testNgInjectNonFunction | Success | | 0.008 |
| AstParallelizerTest | testNoSplit | Success | | 0.008 |
| AstParallelizerTest | testSplitNamedFunction | Success | | 0.001 |
| AstParallelizerTest | testSplitNamedFunctionWithArgs | Success | | 0.001 |
| AstParallelizerTest | testSplitFileLevel | Success | | 0.003 |
| AstValidatorTest | testForIn | Success | | 0.020 |
| AstValidatorTest | testQuestionableForIn | Success | | 0.006 |
| AstValidatorTest | testDebugger | Success | | 0.002 |
| AstValidatorTest | testValidScript | Error | N/A
java.lang.NullPointerException at com.google.javascript.jscomp.AstValidator.validateHasSourceName(AstValidator.java:501) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:88) at com.google.javascript.jscomp.AstValidatorTest.doCheck(AstValidatorTest.java:129) at com.google.javascript.jscomp.AstValidatorTest.expectInvalid(AstValidatorTest.java:142) at com.google.javascript.jscomp.AstValidatorTest.testValidScript(AstValidatorTest.java:78)
| 0.002 |
| AstValidatorTest | testValidStatement1 | Error | N/A
java.lang.NullPointerException at com.google.javascript.jscomp.AstValidator.validateHasSourceName(AstValidator.java:501) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:88) at com.google.javascript.jscomp.AstValidatorTest.doCheck(AstValidatorTest.java:129) at com.google.javascript.jscomp.AstValidatorTest.expectInvalid(AstValidatorTest.java:142) at com.google.javascript.jscomp.AstValidatorTest.testValidStatement1(AstValidatorTest.java:90)
| 0.002 |
| AstValidatorTest | testValidExpression1 | Error | N/A
java.lang.NullPointerException at com.google.javascript.jscomp.AstValidator.validateHasSourceName(AstValidator.java:501) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:88) at com.google.javascript.jscomp.AstValidatorTest.doCheck(AstValidatorTest.java:129) at com.google.javascript.jscomp.AstValidatorTest.expectInvalid(AstValidatorTest.java:142) at com.google.javascript.jscomp.AstValidatorTest.testValidExpression1(AstValidatorTest.java:97)
| 0.002 |
| AstValidatorTest | testValidExpression2 | Error | N/A
java.lang.NullPointerException at com.google.javascript.jscomp.AstValidator.validateHasSourceName(AstValidator.java:501) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:88) at com.google.javascript.jscomp.AstValidatorTest.doCheck(AstValidatorTest.java:129) at com.google.javascript.jscomp.AstValidatorTest.expectInvalid(AstValidatorTest.java:142) at com.google.javascript.jscomp.AstValidatorTest.testValidExpression2(AstValidatorTest.java:104)
| 0.001 |
| AstValidatorTest | testInvalidEmptyStatement | Success | | 0.000 |
| BasicErrorManagerTest | testOrderingBothNull | Success | | 0.001 |
| BasicErrorManagerTest | testOrderingSourceName1 | Success | | 0.000 |
| BasicErrorManagerTest | testOrderingSourceName2 | Success | | 0.000 |
| BasicErrorManagerTest | testOrderingLineno1 | Success | | 0.000 |
| BasicErrorManagerTest | testOrderingLineno2 | Success | | 0.000 |
| BasicErrorManagerTest | testOrderingCheckLevel | Success | | 0.001 |
| BasicErrorManagerTest | testOrderingCharno1 | Success | | 0.000 |
| BasicErrorManagerTest | testOrderingCharno2 | Success | | 0.000 |
| BasicErrorManagerTest | testOrderingDescription | Success | | 0.000 |
| CallGraphTest | testGetFunctionForAstNode | Success | | 0.017 |
| CallGraphTest | testGetAllFunctions | Success | | 0.010 |
| CallGraphTest | testGetAllFunctionsContainsNormalFunction | Success | | 0.005 |
| CallGraphTest | testGetAllFunctionsContainsVarAssignedLiteralFunction | Success | | 0.005 |
| CallGraphTest | testGetAllFunctionsContainsNamespaceAssignedLiteralFunction | Success | | 0.005 |
| CallGraphTest | testGetAllFunctionsContainsLocalFunction | Success | | 0.006 |
| CallGraphTest | testGetAllFunctionsContainsAnonymousFunction | Error | N/A
java.lang.NullPointerException at com.google.javascript.jscomp.CallGraph$1.apply(CallGraph.java:191) at com.google.javascript.jscomp.CallGraph$1.apply(CallGraph.java:183) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:652) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.Iterators.size(Iterators.java:191) at com.google.common.collect.Collections2$FilteredCollection.size(Collections2.java:211) at com.google.javascript.jscomp.CallGraph.getUniqueFunctionWithName(CallGraph.java:199) at com.google.javascript.jscomp.CallGraphTest.testGetAllFunctionsContainsAnonymousFunction(CallGraphTest.java:161)
| 0.006 |
| CallGraphTest | testGetCallsiteForAstNode | Success | | 0.005 |
| CallGraphTest | testFunctionGetCallsites | Success | | 0.006 |
| CallGraphTest | testFindNewInFunction | Success | | 0.005 |
| CallGraphTest | testFindCallsiteTargetGlobalName | Success | | 0.006 |
| CallGraphTest | testFindCallsiteTargetAliasedGlobalProperty | Success | | 0.007 |
| CallGraphTest | testGetAllCallsitesContainsMultiple | Success | | 0.006 |
| CallGraphTest | testGetAllCallsitesContainsGlobalSite | Success | | 0.005 |
| CallGraphTest | testGetAllCallsitesContainsLocalSite | Success | | 0.005 |
| CallGraphTest | testGetAllCallsitesContainsLiteralSite | Success | | 0.006 |
| CallGraphTest | testGetAllCallsitesContainsConstructorSite | Success | | 0.005 |
| CallGraphTest | testGetDirectedGraph_backwardOnBackward | Success | | 0.009 |
| CallGraphTest | testGetDirectedGraph_backwardOnForward | Success | | 0.009 |
| CallGraphTest | testGetDirectedGraph_forwardOnForward | Success | | 0.011 |
| CallGraphTest | testGetDirectedGraph_forwardOnBackward | Success | | 0.009 |
| CallGraphTest | testFunctionIsMain | Success | | 0.005 |
| CallGraphTest | testFunctionGetAstNode | Success | | 0.003 |
| CallGraphTest | testFunctionGetBodyNode | Success | | 0.003 |
| CallGraphTest | testFunctionGetName | Success | | 0.004 |
| CallGraphTest | testFunctionGetCallsitesInFunction | Success | | 0.005 |
| CallGraphTest | testFunctionGetCallsitesInFunction_ignoreInnerFunction | Success | | 0.007 |
| CallGraphTest | testFunctionGetCallsitesPossiblyTargetingFunction | Success | | 0.007 |
| CallGraphTest | testFunctionGetCallsitesInFunction_newIsCallsite | Success | | 0.006 |
| CallGraphTest | testFunctionGetIsAliased | Failure | expected:<true> but was:<false>
junit.framework.AssertionFailedError: expected:<true> but was:<false> at com.google.javascript.jscomp.CallGraphTest.assertFunctionAliased(CallGraphTest.java:1086) at com.google.javascript.jscomp.CallGraphTest.testFunctionGetIsAliased(CallGraphTest.java:803)
| 0.005 |
| CallGraphTest | testFunctionGetIsExposedToCallOrApply | Failure | N/A
junit.framework.AssertionFailedError at com.google.javascript.jscomp.CallGraphTest.testFunctionGetIsExposedToCallOrApply(CallGraphTest.java:900)
| 0.007 |
| CallGraphTest | testCallsiteGetAstNode | Success | | 0.005 |
| CallGraphTest | testCallsiteGetContainingFunction | Success | | 0.007 |
| CallGraphTest | testCallsiteGetKnownTargets | Success | | 0.006 |
| CallGraphTest | testCallsiteHasUnknownTarget | Success | | 0.007 |
| CallGraphTest | testCallsiteHasExternTarget | Success | | 0.007 |
| CallGraphTest | testThrowForBackwardOpOnForwardGraph | Success | | 0.009 |
| CallGraphTest | testThrowForForwardOpOnBackwardGraph | Success | | 0.007 |
| ChainCallsTest | testSecondCallReturnNotThis | Success | | 0.009 |
| ChainCallsTest | testUnchainedCalls | Success | | 0.005 |
| ChainCallsTest | testDifferentInstance | Success | | 0.005 |
| ChainCallsTest | testSubclass | Success | | 0.007 |
| ChainCallsTest | testSimpleDefinitionFinder | Success | | 0.011 |
| ChainCallsTest | testSimpleDefinitionFinder2 | Success | | 0.016 |
| CheckAccessControlsTest | testDeprecatedFunction | Success | | 0.054 |
| CheckAccessControlsTest | testWarningOnDeprecatedConstVariable | Success | | 0.030 |
| CheckAccessControlsTest | testThatNumbersArentDeprecated | Success | | 0.017 |
| CheckAccessControlsTest | testDeprecatedFunctionVariable | Success | | 0.026 |
| CheckAccessControlsTest | testNoWarningInGlobalScope | Success | | 0.017 |
| CheckAccessControlsTest | testNoWarningInGlobalScopeForCall | Success | | 0.024 |
| CheckAccessControlsTest | testNoWarningInDeprecatedFunction | Success | | 0.015 |
| CheckAccessControlsTest | testWarningInNormalClass | Success | | 0.025 |
| CheckAccessControlsTest | testWarningForProperty1 | Success | | 0.023 |
| CheckAccessControlsTest | testWarningForProperty2 | Success | | 0.020 |
| CheckAccessControlsTest | testWarningForDeprecatedClass | Success | | 0.022 |
| CheckAccessControlsTest | testNoWarningForDeprecatedClassInstance | Success | | 0.013 |
| CheckAccessControlsTest | testWarningForDeprecatedSuperClass | Success | | 0.020 |
| CheckAccessControlsTest | testWarningForDeprecatedSuperClass2 | Success | | 0.026 |
| CheckAccessControlsTest | testWarningForPrototypeProperty | Success | | 0.023 |
| CheckAccessControlsTest | testNoWarningForNumbers | Success | | 0.016 |
| CheckAccessControlsTest | testWarningForMethod1 | Success | | 0.024 |
| CheckAccessControlsTest | testWarningForMethod2 | Success | | 0.023 |
| CheckAccessControlsTest | testNoWarningInDeprecatedClass | Success | | 0.016 |
| CheckAccessControlsTest | testNoWarningOnDeclaration | Success | | 0.014 |
| CheckAccessControlsTest | testNoWarningInDeprecatedClass2 | Success | | 0.011 |
| CheckAccessControlsTest | testNoWarningInDeprecatedStaticMethod | Success | | 0.018 |
| CheckAccessControlsTest | testWarningInStaticMethod | Success | | 0.017 |
| CheckAccessControlsTest | testDeprecatedObjLitKey | Success | | 0.014 |
| CheckAccessControlsTest | testWarningForSubclassMethod | Success | | 0.022 |
| CheckAccessControlsTest | testWarningForSuperClassWithDeprecatedSubclassMethod | Success | | 0.013 |
| CheckAccessControlsTest | testWarningForSuperclassMethod | Success | | 0.019 |
| CheckAccessControlsTest | testWarningForSuperclassMethod2 | Success | | 0.021 |
| CheckAccessControlsTest | testWarningForBind | Success | | 0.018 |
| CheckAccessControlsTest | testWarningForDeprecatedClassInGlobalScope | Success | | 0.015 |
| CheckAccessControlsTest | testNoWarningForPrototypeCopying | Success | | 0.009 |
| CheckAccessControlsTest | testNoWarningOnDeprecatedPrototype | Success | | 0.010 |
| CheckAccessControlsTest | testPrivateAccessForNames | Success | | 0.013 |
| CheckAccessControlsTest | testPrivateAccessForNames2 | Success | | 0.016 |
| CheckAccessControlsTest | testPrivateAccessForProperties1 | Success | | 0.010 |
| CheckAccessControlsTest | testPrivateAccessForProperties2 | Success | | 0.012 |
| CheckAccessControlsTest | testPrivateAccessForProperties3 | Success | | 0.012 |
| CheckAccessControlsTest | testPrivateAccessForProperties4 | Success | | 0.011 |
| CheckAccessControlsTest | testPrivateAccessForProperties5 | Success | | 0.008 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties1 | Success | | 0.007 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties2 | Success | | 0.007 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties3 | Success | | 0.008 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties4 | Success | | 0.006 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties5 | Success | | 0.007 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties6 | Success | | 0.007 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties7 | Success | | 0.012 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties8 | Success | | 0.007 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties9 | Success | | 0.008 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties10 | Success | | 0.007 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties11 | Success | | 0.007 |
| CheckAccessControlsTest | testNoPrivateAccessForProperties12 | Success | | 0.011 |
| CheckAccessControlsTest | testNoPrivateAccessForNamespaces | Success | | 0.008 |
| CheckAccessControlsTest | testProtectedAccessForProperties1 | Success | | 0.012 |
| CheckAccessControlsTest | testProtectedAccessForProperties2 | Success | | 0.011 |
| CheckAccessControlsTest | testProtectedAccessForProperties3 | Success | | 0.012 |
| CheckAccessControlsTest | testProtectedAccessForProperties4 | Success | | 0.013 |
| CheckAccessControlsTest | testProtectedAccessForProperties5 | Success | | 0.011 |
| CheckAccessControlsTest | testProtectedAccessForProperties6 | Success | | 0.013 |
| CheckAccessControlsTest | testProtectedAccessForProperties7 | Success | | 0.016 |
| CheckAccessControlsTest | testProtectedAccessForProperties8 | Success | | 0.009 |
| CheckAccessControlsTest | testProtectedAccessForProperties9 | Success | | 0.009 |
| CheckAccessControlsTest | testProtectedAccessForProperties10 | Success | | 0.010 |
| CheckAccessControlsTest | testNoProtectedAccessForProperties1 | Success | | 0.009 |
| CheckAccessControlsTest | testNoProtectedAccessForProperties2 | Success | | 0.007 |
| CheckAccessControlsTest | testNoProtectedAccessForProperties3 | Success | | 0.008 |
| CheckAccessControlsTest | testNoProtectedAccessForProperties4 | Success | | 0.008 |
| CheckAccessControlsTest | testNoProtectedAccessForProperties5 | Success | | 0.008 |
| CheckAccessControlsTest | testNoProtectedAccessForProperties6 | Success | | 0.008 |
| CheckAccessControlsTest | testNoProtectedAccessForProperties7 | Success | | 0.007 |
| CheckAccessControlsTest | testPackagePrivateAccessForNames | Success | | 0.007 |
| CheckAccessControlsTest | testPackagePrivateAccessForProperties1 | Success | | 0.008 |
| CheckAccessControlsTest | testPackagePrivateAccessForProperties2 | Success | | 0.007 |
| CheckAccessControlsTest | testPackagePrivateAccessForProperties3 | Success | | 0.009 |
| CheckAccessControlsTest | testPackagePrivateAccessForProperties4 | Success | | 0.011 |
| CheckAccessControlsTest | testPackagePrivateAccessForProperties5 | Success | | 0.007 |
| CheckAccessControlsTest | testNoPackagePrivateAccessForProperties1 | Success | | 0.009 |
| CheckAccessControlsTest | testNoPackagePrivateAccessForProperties2 | Success | | 0.009 |
| CheckAccessControlsTest | testNoPackagePrivateAccessForProperties3 | Success | | 0.009 |
| CheckAccessControlsTest | testNoPackagePrivateAccessForProperties4 | Success | | 0.008 |
| CheckAccessControlsTest | testNoPackagePrivateAccessForNamespaces | Success | | 0.012 |
| CheckAccessControlsTest | testNoPackagePrivateAccessForProperties5 | Success | | 0.009 |
| CheckAccessControlsTest | testNoPackagePrivateAccessForProperties6 | Success | | 0.008 |
| CheckAccessControlsTest | testNoPackagePrivateAccessForProperties7 | Success | | 0.006 |
| CheckAccessControlsTest | testOverrideWithoutVisibilityRedeclInFileWithFileOverviewVisibilityNotAllowed_OneFile | Success | | 0.007 |
| CheckAccessControlsTest | testNamespacedFunctionDoesNotNeedVisibilityRedeclInFileWithFileOverviewVisibility | Success | | 0.011 |
| CheckAccessControlsTest | testOverrideWithoutVisibilityRedeclInFileWithFileOverviewVisibilityNotAllowed_TwoFiles | Success | | 0.009 |
| CheckAccessControlsTest | testOverrideWithoutVisibilityRedeclInFileWithNoFileOverviewOk | Success | | 0.011 |
| CheckAccessControlsTest | testOverrideWithoutVisibilityRedeclInFileWithNoFileOverviewVisibilityOk | Success | | 0.010 |
| CheckAccessControlsTest | testOverrideWithVisibilityRedeclInFileWithFileOverviewVisibilityOk_OneFile | Success | | 0.010 |
| CheckAccessControlsTest | testOverrideWithVisibilityRedeclInFileWithFileOverviewVisibilityOk_TwoFiles | Success | | 0.007 |
| CheckAccessControlsTest | testPublicFileOverviewVisibilityDoesNotApplyToNameWithExplicitPackageVisibility | Success | | 0.007 |
| CheckAccessControlsTest | testPackageFileOverviewVisibilityDoesNotApplyToNameWithExplicitPublicVisibility | Success | | 0.009 |
| CheckAccessControlsTest | testPackageFileOverviewVisibilityAppliesToNameWithoutExplicitVisibility | Success | | 0.007 |
| CheckAccessControlsTest | testPackageFileOverviewVisibilityDoesNotApplyToPropertyWithExplicitPublicVisibility | Success | | 0.010 |
| CheckAccessControlsTest | testFileoverviewVisibilityDoesNotApplyToGoogProvidedNamespace1 | Success | | 0.013 |
| CheckAccessControlsTest | testFileoverviewVisibilityDoesNotApplyToGoogProvidedNamespace2 | Success | | 0.010 |
| CheckAccessControlsTest | testFileoverviewVisibilityDoesNotApplyToGoogProvidedNamespace3 | Success | | 0.009 |
| CheckAccessControlsTest | testFileoverviewVisibilityDoesNotApplyToGoogProvidedNamespace4 | Success | | 0.007 |
| CheckAccessControlsTest | testPublicFileOverviewVisibilityDoesNotApplyToPropertyWithExplicitPackageVisibility | Success | | 0.007 |
| CheckAccessControlsTest | testPublicFileOverviewVisibilityAppliesToPropertyWithoutExplicitVisibility | Success | | 0.009 |
| CheckAccessControlsTest | testPackageFileOverviewVisibilityAppliesToPropertyWithoutExplicitVisibility | Success | | 0.007 |
| CheckAccessControlsTest | testFileOverviewVisibilityComesFromDeclarationFileNotUseFile | Success | | 0.006 |
| CheckAccessControlsTest | testNoExceptionsWithBadConstructors1 | Success | | 0.008 |
| CheckAccessControlsTest | testNoExceptionsWithBadConstructors2 | Success | | 0.008 |
| CheckAccessControlsTest | testGoodOverrideOfProtectedProperty | Success | | 0.011 |
| CheckAccessControlsTest | testBadOverrideOfProtectedProperty | Success | | 0.006 |
| CheckAccessControlsTest | testBadOverrideOfPrivateProperty | Success | | 0.023 |
| CheckAccessControlsTest | testAccessOfStaticMethodOnPrivateConstructor | Success | | 0.009 |
| CheckAccessControlsTest | testAccessOfStaticMethodOnPrivateQualifiedConstructor | Success | | 0.009 |
| CheckAccessControlsTest | testInstanceofOfPrivateConstructor | Success | | 0.009 |
| CheckAccessControlsTest | testOkAssignmentOfDeprecatedProperty | Success | | 0.007 |
| CheckAccessControlsTest | testBadReadOfDeprecatedProperty | Success | | 0.010 |
| CheckAccessControlsTest | testAutoboxedDeprecatedProperty | Success | | 0.004 |
| CheckAccessControlsTest | testAutoboxedPrivateProperty | Success | | 0.003 |
| CheckAccessControlsTest | testNullableDeprecatedProperty | Success | | 0.015 |
| CheckAccessControlsTest | testNullablePrivateProperty | Success | | 0.007 |
| CheckAccessControlsTest | testPrivatePropertyByConvention1 | Success | | 0.008 |
| CheckAccessControlsTest | testPrivatePropertyByConvention2 | Success | | 0.007 |
| CheckAccessControlsTest | testDeclarationAndConventionConflict1 | Success | | 0.006 |
| CheckAccessControlsTest | testDeclarationAndConventionConflict2 | Success | | 0.005 |
| CheckAccessControlsTest | testDeclarationAndConventionConflict3 | Success | | 0.004 |
| CheckAccessControlsTest | testDeclarationAndConventionConflict4a | Success | | 0.006 |
| CheckAccessControlsTest | testDeclarationAndConventionConflict4b | Success | | 0.007 |
| CheckAccessControlsTest | testDeclarationAndConventionConflict5 | Success | | 0.006 |
| CheckAccessControlsTest | testDeclarationAndConventionConflict6 | Success | | 0.006 |
| CheckAccessControlsTest | testDeclarationAndConventionConflict7 | Success | | 0.006 |
| CheckAccessControlsTest | testDeclarationAndConventionConflict8 | Success | | 0.006 |
| CheckAccessControlsTest | testDeclarationAndConventionConflict9 | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty1a | Success | | 0.005 |
| CheckAccessControlsTest | testConstantProperty1b | Success | | 0.007 |
| CheckAccessControlsTest | testConstantProperty2a | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty2b | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty3a | Success | | 0.009 |
| CheckAccessControlsTest | testConstantProperty3b | Success | | 0.006 |
| CheckAccessControlsTest | testNamespaceConstantProperty1 | Success | | 0.006 |
| CheckAccessControlsTest | testNamespaceConstantProperty2 | Success | | 0.006 |
| CheckAccessControlsTest | testNamespaceConstantProperty2a | Success | | 0.008 |
| CheckAccessControlsTest | testNamespaceConstantProperty3 | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty3a1 | Success | | 0.008 |
| CheckAccessControlsTest | testConstantProperty3a2 | Success | | 0.008 |
| CheckAccessControlsTest | testConstantProperty3b1 | Success | | 0.007 |
| CheckAccessControlsTest | testConstantProperty3b2 | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty4 | Success | | 0.033 |
| CheckAccessControlsTest | testConstantProperty4b | Success | | 0.005 |
| CheckAccessControlsTest | testConstantProperty5 | Success | | 0.007 |
| CheckAccessControlsTest | testConstantProperty6 | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty7 | Success | | 0.010 |
| CheckAccessControlsTest | testConstantProperty8 | Success | | 0.009 |
| CheckAccessControlsTest | testConstantProperty9 | Success | | 0.008 |
| CheckAccessControlsTest | testConstantProperty10a | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty10b | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty11 | Success | | 0.005 |
| CheckAccessControlsTest | testConstantProperty12 | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty13 | Success | | 0.005 |
| CheckAccessControlsTest | testConstantProperty14 | Success | | 0.005 |
| CheckAccessControlsTest | testConstantPropertyInExterns | Success | | 0.003 |
| CheckAccessControlsTest | testConstantProperty15 | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty15a | Success | | 0.005 |
| CheckAccessControlsTest | testConstantProperty15b | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty15c | Success | | 0.006 |
| CheckAccessControlsTest | testConstantProperty16 | Success | | 0.011 |
| CheckAccessControlsTest | testConstantProperty17 | Success | | 0.008 |
| CheckAccessControlsTest | testConstantProperty18 | Success | | 0.007 |
| CheckAccessControlsTest | testConstantProperty19 | Success | | 0.008 |
| CheckAccessControlsTest | testSuppressConstantProperty | Success | | 0.007 |
| CheckAccessControlsTest | testSuppressConstantProperty2 | Success | | 0.008 |
| CheckAccessControlsTest | testFinalClassCannotBeSubclassed | Success | | 0.010 |
| CheckConformanceTest | testViolation1 | Success | | 0.074 |
| CheckConformanceTest | testViolation2 | Success | | 0.006 |
| CheckConformanceTest | testNotViolation1 | Success | | 0.011 |
| CheckConformanceTest | testMaybeViolation1 | Success | | 0.033 |
| CheckConformanceTest | testBadWhitelist1 | Success | | 0.008 |
| CheckConformanceTest | testBannedDep1 | Success | | 0.005 |
| CheckConformanceTest | testViolationWhitelisted1 | Success | | 0.005 |
| CheckConformanceTest | testViolationWhitelisted2 | Success | | 0.005 |
| CheckConformanceTest | testFileOnOnlyApplyToIsChecked | Success | | 0.004 |
| CheckConformanceTest | testFileNotOnOnlyApplyToIsNotChecked | Success | | 0.003 |
| CheckConformanceTest | testFileOnOnlyApplyToRegexpIsChecked | Success | | 0.003 |
| CheckConformanceTest | testFileNotOnOnlyApplyToRegexpIsNotChecked | Success | | 0.003 |
| CheckConformanceTest | testSpecifyingWhitelistAndOnlyApplyToIsRuntimeError | Success | | 0.002 |
| CheckConformanceTest | testBannedCodePattern1 | Success | | 0.020 |
| CheckConformanceTest | testBannedProperty | Success | | 0.076 |
| CheckConformanceTest | testBannedPropertyWrite | Success | | 0.052 |
| CheckConformanceTest | testBannedPropertyWriteExtern | Success | | 0.052 |
| CheckConformanceTest | testBannedPropertyRead | Success | | 0.095 |
| CheckConformanceTest | testRestrictedCall1 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 4 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 4 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckConformanceTest.testRestrictedCall1(CheckConformanceTest.java:505)
| 0.029 |
| CheckConformanceTest | testRestrictedCall2 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 4 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 4 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckConformanceTest.testRestrictedCall2(CheckConformanceTest.java:533)
| 0.028 |
| CheckConformanceTest | testRestrictedCall3 | Success | | 0.035 |
| CheckConformanceTest | testRestrictedCall4 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 2 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 2 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckConformanceTest.testRestrictedCall4(CheckConformanceTest.java:579)
| 0.006 |
| CheckConformanceTest | testRestrictedMethodCallThisType | Success | | 0.037 |
| CheckConformanceTest | testRestrictedMethodCallUsingCallThisType | Failure | There should be one warning, repeated 1 time(s). Warnings: [JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 8 : 37, JSC_CONFORMANCE_VIOLATION. Violation: Only call m on the subclass at testcode line 8 : 37] expected:<1> but was:<2>
junit.framework.AssertionFailedError: There should be one warning, repeated 1 time(s). Warnings: [JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 8 : 37, JSC_CONFORMANCE_VIOLATION. Violation: Only call m on the subclass at testcode line 8 : 37] expected:<1> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1098) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckConformanceTest.testRestrictedMethodCallUsingCallThisType(CheckConformanceTest.java:625)
| 0.015 |
| CheckConformanceTest | testCustom1 | Success | | 0.012 |
| CheckConformanceTest | testCustom2 | Success | | 0.009 |
| CheckConformanceTest | testCustom3 | Success | | 0.005 |
| CheckConformanceTest | testCustom4 | Success | | 0.008 |
| CheckConformanceTest | testCustom5 | Success | | 0.005 |
| CheckConformanceTest | testCustom6 | Success | | 0.008 |
| CheckConformanceTest | testCustom7 | Success | | 0.006 |
| CheckConformanceTest | testCustomBanExpose | Success | | 0.012 |
| CheckConformanceTest | testCustomRestrictThrow1 | Success | | 0.007 |
| CheckConformanceTest | testCustomRestrictThrow2 | Success | | 0.005 |
| CheckConformanceTest | testCustomBanUnknownThis1 | Success | | 0.008 |
| CheckConformanceTest | testCustomBanUnknownThis2 | Success | | 0.009 |
| CheckConformanceTest | testCustomBanUnknownThis3 | Success | | 0.010 |
| CheckConformanceTest | testCustomBanUnknownThis4 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 1 : 14 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 1 : 14 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckConformanceTest.testCustomBanUnknownThis4(CheckConformanceTest.java:915)
| 0.008 |
| CheckConformanceTest | testCustomBanGlobalVars1 | Success | | 0.049 |
| CheckConformanceTest | testRequireFileoverviewVisibility | Success | | 0.041 |
| CheckConformanceTest | testNoImplicitlyPublicDecls | Success | | 0.107 |
| CheckConformanceTest | testMergeRequirements | Success | | 0.004 |
| CheckConformanceTest | testMergeRequirements_findsDuplicates | Success | | 0.001 |
| CheckDebuggerStatementTest | testCheckDebuggerStatement | Success | | 0.007 |
| CheckDebuggerStatementTest | testCheckIsDisabledByDefault | Success | | 0.007 |
| CheckDebuggerStatementTest | testNoWarningWhenExplicitlyDisabled | Success | | 0.006 |
| CheckDebuggerStatementTest | testCheckDebuggerKeywordMayAppearInComments | Success | | 0.003 |
| CheckDebuggerStatementTest | testCheckDebuggerStatementInEval | Success | | 0.004 |
| CheckEventfulObjectDisposalTest | testNoEventHandler | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 45 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 45 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testNoEventHandler(CheckEventfulObjectDisposalTest.java:77)
| 0.039 |
| CheckEventfulObjectDisposalTest | testNotFreed1 | Success | | 0.016 |
| CheckEventfulObjectDisposalTest | testLocal | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 8 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 8 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testLocal(CheckEventfulObjectDisposalTest.java:97)
| 0.026 |
| CheckEventfulObjectDisposalTest | testLocalAggressive | Success | | 0.016 |
| CheckEventfulObjectDisposalTest | testFreedLocal1 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 98 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 98 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testFreedLocal1(CheckEventfulObjectDisposalTest.java:120)
| 0.021 |
| CheckEventfulObjectDisposalTest | testEventhandlerRemoveAll1 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 144 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 144 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testEventhandlerRemoveAll1(CheckEventfulObjectDisposalTest.java:131)
| 0.029 |
| CheckEventfulObjectDisposalTest | testEventhandlerRemoveAll2 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 100 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 100 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testEventhandlerRemoveAll2(CheckEventfulObjectDisposalTest.java:142)
| 0.030 |
| CheckEventfulObjectDisposalTest | testFreedLocal2 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 113 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 113 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testFreedLocal2(CheckEventfulObjectDisposalTest.java:152)
| 0.029 |
| CheckEventfulObjectDisposalTest | testFreedLocal2Aggressive | Success | | 0.028 |
| CheckEventfulObjectDisposalTest | testLocalLive1 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 111 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 111 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testLocalLive1(CheckEventfulObjectDisposalTest.java:176)
| 0.027 |
| CheckEventfulObjectDisposalTest | testLocalLive2 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 116 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 116 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testLocalLive2(CheckEventfulObjectDisposalTest.java:188)
| 0.048 |
| CheckEventfulObjectDisposalTest | testLocalLive3 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 115 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 115 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testLocalLive3(CheckEventfulObjectDisposalTest.java:205)
| 0.028 |
| CheckEventfulObjectDisposalTest | testFreedDispose | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 104 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 104 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testFreedDispose(CheckEventfulObjectDisposalTest.java:215)
| 0.025 |
| CheckEventfulObjectDisposalTest | testFreedGoogDispose1 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 108 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 108 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testFreedGoogDispose1(CheckEventfulObjectDisposalTest.java:225)
| 0.022 |
| CheckEventfulObjectDisposalTest | testNotAllFreedGoogDispose | Success | | 0.014 |
| CheckEventfulObjectDisposalTest | testFreedGoogDisposeAll | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 126
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 165 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 126 JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 165 expected:<0> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testFreedGoogDisposeAll(CheckEventfulObjectDisposalTest.java:250)
| 0.018 |
| CheckEventfulObjectDisposalTest | testFreedRegisterDisposable | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 119 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 119 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testFreedRegisterDisposable(CheckEventfulObjectDisposalTest.java:260)
| 0.022 |
| CheckEventfulObjectDisposalTest | testFreedRemoveAll | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 106 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 6 : 106 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testFreedRemoveAll(CheckEventfulObjectDisposalTest.java:270)
| 0.023 |
| CheckEventfulObjectDisposalTest | testPrivateInheritance | Success | | 0.013 |
| CheckEventfulObjectDisposalTest | testCustomDispose1 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 8 : 139 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 8 : 139 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testCustomDispose1(CheckEventfulObjectDisposalTest.java:300)
| 0.018 |
| CheckEventfulObjectDisposalTest | testCustomDispose2 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 8 : 178 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 8 : 178 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckEventfulObjectDisposalTest.testCustomDispose2(CheckEventfulObjectDisposalTest.java:314)
| 0.021 |
| CheckEventfulObjectDisposalTest | testCustomDispose3 | Success | | 0.013 |
| CheckGlobalNamesTest | testRefToMethod2 | Success | | 0.006 |
| CheckGlobalNamesTest | testCallUndefinedFunctionGivesNoWaring | Success | | 0.003 |
| CheckGlobalNamesTest | testRefToPropertyOfAliasedName | Success | | 0.006 |
| CheckGlobalNamesTest | testRefToUndefinedProperty1 | Success | | 0.004 |
| CheckGlobalNamesTest | testRefToUndefinedProperty2 | Success | | 0.004 |
| CheckGlobalNamesTest | testRefToUndefinedProperty3 | Success | | 0.013 |
| CheckGlobalNamesTest | testRefToUndefinedProperty4 | Success | | 0.010 |
| CheckGlobalNamesTest | testRefToDescendantOfUndefinedProperty1 | Success | | 0.005 |
| CheckGlobalNamesTest | testRefToMethod1 | Success | | 0.005 |
| CheckGlobalNamesTest | testRefToDefinedProperties1 | Success | | 0.014 |
| CheckGlobalNamesTest | testRefToDefinedProperties2 | Success | | 0.013 |
| CheckGlobalNamesTest | testRefToDefinedProperties3 | Success | | 0.010 |
| CheckGlobalNamesTest | testRefToDescendantOfUndefinedProperty2 | Success | | 0.004 |
| CheckGlobalNamesTest | testRefToDescendantOfUndefinedProperty3 | Success | | 0.009 |
| CheckGlobalNamesTest | testUndefinedPrototypeMethodRefGivesNoWarning | Success | | 0.004 |
| CheckGlobalNamesTest | testComplexPropAssignGivesNoWarning | Success | | 0.004 |
| CheckGlobalNamesTest | testTypedefGivesNoWarning | Success | | 0.005 |
| CheckGlobalNamesTest | testRefToDescendantOfUndefinedPropertyGivesCorrectWarning | Success | | 0.005 |
| CheckGlobalNamesTest | testNamespaceInjection | Success | | 0.004 |
| CheckGlobalNamesTest | testSuppressionOfUndefinedNamesWarning | Success | | 0.007 |
| CheckGlobalNamesTest | testNoWarningForSimpleVarModuleDep1 | Success | | 0.004 |
| CheckGlobalNamesTest | testNoWarningForSimpleVarModuleDep2 | Success | | 0.003 |
| CheckGlobalNamesTest | testNoWarningForGoodModuleDep1 | Success | | 0.003 |
| CheckGlobalNamesTest | testBadModuleDep1 | Success | | 0.004 |
| CheckGlobalNamesTest | testBadModuleDep2 | Success | | 0.004 |
| CheckGlobalNamesTest | testSelfModuleDep | Success | | 0.002 |
| CheckGlobalNamesTest | testUndefinedModuleDep1 | Success | | 0.004 |
| CheckGlobalNamesTest | testLateDefinedName1 | Success | | 0.003 |
| CheckGlobalNamesTest | testLateDefinedName2 | Success | | 0.003 |
| CheckGlobalNamesTest | testLateDefinedName3 | Success | | 0.002 |
| CheckGlobalNamesTest | testLateDefinedName4 | Success | | 0.003 |
| CheckGlobalNamesTest | testLateDefinedName5 | Success | | 0.004 |
| CheckGlobalNamesTest | testLateDefinedName6 | Success | | 0.003 |
| CheckGlobalNamesTest | testOkLateDefinedName1 | Success | | 0.003 |
| CheckGlobalNamesTest | testOkLateDefinedName2 | Success | | 0.003 |
| CheckGlobalNamesTest | testPathologicalCaseThatsOkAnyway | Success | | 0.004 |
| CheckGlobalNamesTest | testOkGlobalDeclExpr | Success | | 0.002 |
| CheckGlobalNamesTest | testBadInterfacePropRef | Success | | 0.005 |
| CheckGlobalNamesTest | testInterfaceFunctionPropRef | Success | | 0.004 |
| CheckGlobalNamesTest | testObjectPrototypeProperties | Success | | 0.004 |
| CheckGlobalNamesTest | testCustomObjectPrototypeProperties | Success | | 0.003 |
| CheckGlobalNamesTest | testFunctionPrototypeProperties | Success | | 0.002 |
| CheckGlobalNamesTest | testIndirectlyDeclaredProperties | Success | | 0.004 |
| CheckGlobalNamesTest | testGoogInheritsAlias | Success | | 0.007 |
| CheckGlobalNamesTest | testGoogInheritsAlias2 | Success | | 0.006 |
| CheckGlobalNamesTest | testGlobalCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME Error 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME console 1 [source_file: testcode]
STRING log 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
STRING name 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME Error 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME console 1 [source_file: testcode] STRING log 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME e 1 [source_file: testcode] STRING name 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalNamesTest.testGlobalCatch(CheckGlobalNamesTest.java:341)
| 0.002 |
| CheckGlobalThisTest | testGlobalThis1 | Success | | 0.002 |
| CheckGlobalThisTest | testGlobalThis2 | Success | | 0.003 |
| CheckGlobalThisTest | testGlobalThis3 | Success | | 0.003 |
| CheckGlobalThisTest | testGlobalThis4 | Success | | 0.002 |
| CheckGlobalThisTest | testGlobalThis5 | Success | | 0.002 |
| CheckGlobalThisTest | testGlobalThis6 | Success | | 0.002 |
| CheckGlobalThisTest | testGlobalThis7 | Success | | 0.002 |
| CheckGlobalThisTest | testStaticFunction1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION a): testcode:1:0
function a() { return this; }
Parent(SCRIPT): testcode:1:0
function a() { return this; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION a): testcode:1:0 function a() { return this; } Parent(SCRIPT): testcode:1:0 function a() { return this; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticFunction1(CheckGlobalThisTest.java:68) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testStaticFunction2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION a): testcode:1:0
function a() { this.complex = 5; }
Parent(SCRIPT): testcode:1:0
function a() { this.complex = 5; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION a): testcode:1:0 function a() { this.complex = 5; } Parent(SCRIPT): testcode:1:0 function a() { this.complex = 5; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticFunction2(CheckGlobalThisTest.java:72) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testStaticFunction3 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:8
var a = function() { return this; }
Parent(NAME a): testcode:1:4
var a = function() { return this; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:8 var a = function() { return this; } Parent(NAME a): testcode:1:4 var a = function() { return this; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticFunction3(CheckGlobalThisTest.java:76) Caused by: java.lang.NullPointerException
| 0.003 |
| CheckGlobalThisTest | testStaticFunction4 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:8
var a = function() { this.foo.bar = 6; }
Parent(NAME a): testcode:1:4
var a = function() { this.foo.bar = 6; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:8 var a = function() { this.foo.bar = 6; } Parent(NAME a): testcode:1:4 var a = function() { this.foo.bar = 6; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticFunction4(CheckGlobalThisTest.java:80) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testStaticFunction5 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION a): testcode:1:0
function a() { return function() { return this; } }
Parent(SCRIPT): testcode:1:0
function a() { return function() { return this; } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION a): testcode:1:0 function a() { return function() { return this; } } Parent(SCRIPT): testcode:1:0 function a() { return function() { return this; } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticFunction5(CheckGlobalThisTest.java:84) Caused by: java.lang.NullPointerException
| 0.005 |
| CheckGlobalThisTest | testStaticFunction6 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION a): testcode:1:0
function a() { return function() { this.x = 8; } }
Parent(SCRIPT): testcode:1:0
function a() { return function() { this.x = 8; } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION a): testcode:1:0 function a() { return function() { this.x = 8; } } Parent(SCRIPT): testcode:1:0 function a() { return function() { this.x = 8; } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticFunction6(CheckGlobalThisTest.java:88) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testStaticFunction7 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:8
var a = function() { return function() { this.x = 8; } }
Parent(NAME a): testcode:1:4
var a = function() { return function() { this.x = 8; } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:8 var a = function() { return function() { this.x = 8; } } Parent(NAME a): testcode:1:4 var a = function() { return function() { this.x = 8; } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticFunction7(CheckGlobalThisTest.java:92) Caused by: java.lang.NullPointerException
| 0.003 |
| CheckGlobalThisTest | testStaticFunction8 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:8
var a = function() { return this.foo; };
Parent(NAME a): testcode:1:4
var a = function() { return this.foo; };
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:8 var a = function() { return this.foo; }; Parent(NAME a): testcode:1:4 var a = function() { return this.foo; };
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticFunction8(CheckGlobalThisTest.java:96) Caused by: java.lang.NullPointerException
| 0.003 |
| CheckGlobalThisTest | testConstructor1 | Success | | 0.002 |
| CheckGlobalThisTest | testConstructor2 | Success | | 0.003 |
| CheckGlobalThisTest | testConstructor3 | Success | | 0.002 |
| CheckGlobalThisTest | testInterface1 | Success | | 0.004 |
| CheckGlobalThisTest | testOverride1 | Success | | 0.002 |
| CheckGlobalThisTest | testThisJSDoc1 | Success | | 0.002 |
| CheckGlobalThisTest | testThisJSDoc2 | Success | | 0.002 |
| CheckGlobalThisTest | testThisJSDoc3 | Success | | 0.004 |
| CheckGlobalThisTest | testThisJSDoc4 | Success | | 0.003 |
| CheckGlobalThisTest | testThisJSDoc5 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION a): testcode:1:0
function a() { /** @this x */function f() { this.foo = 56; } }
Parent(SCRIPT): testcode:1:0
function a() { /** @this x */function f() { this.foo = 56; } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION a): testcode:1:0 function a() { /** @this x */function f() { this.foo = 56; } } Parent(SCRIPT): testcode:1:0 function a() { /** @this x */function f() { this.foo = 56; } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testThisJSDoc5(CheckGlobalThisTest.java:138) Caused by: java.lang.NullPointerException
| 0.003 |
| CheckGlobalThisTest | testMethod1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:17
A.prototype.m1 = function() { this.m2 = 5; }
Parent(ASSIGN): testcode:1:0
A.prototype.m1 = function() { this.m2 = 5; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:17 A.prototype.m1 = function() { this.m2 = 5; } Parent(ASSIGN): testcode:1:0 A.prototype.m1 = function() { this.m2 = 5; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testMethod1(CheckGlobalThisTest.java:142) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testMethod2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:19
a.B.prototype.m1 = function() { this.m2 = 5; }
Parent(ASSIGN): testcode:1:0
a.B.prototype.m1 = function() { this.m2 = 5; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:19 a.B.prototype.m1 = function() { this.m2 = 5; } Parent(ASSIGN): testcode:1:0 a.B.prototype.m1 = function() { this.m2 = 5; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testMethod2(CheckGlobalThisTest.java:146) Caused by: java.lang.NullPointerException
| 0.001 |
| CheckGlobalThisTest | testMethod3 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:23
a.b.c.D.prototype.m1 = function() { this.m2 = 5; }
Parent(ASSIGN): testcode:1:0
a.b.c.D.prototype.m1 = function() { this.m2 = 5; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:23 a.b.c.D.prototype.m1 = function() { this.m2 = 5; } Parent(ASSIGN): testcode:1:0 a.b.c.D.prototype.m1 = function() { this.m2 = 5; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testMethod3(CheckGlobalThisTest.java:150) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testMethod4 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:26
a.prototype['x' + 'y'] = function() { this.foo = 3; };
Parent(ASSIGN): testcode:1:0
a.prototype['x' + 'y'] = function() { this.foo = 3; };
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:26 a.prototype['x' + 'y'] = function() { this.foo = 3; }; Parent(ASSIGN): testcode:1:0 a.prototype['x' + 'y'] = function() { this.foo = 3; };
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testMethod4(CheckGlobalThisTest.java:154) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testPropertyOfMethod | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:37
a.protoype.b = {}; a.prototype.b.c = function() { this.foo = 3; };
Parent(ASSIGN): testcode:1:19
a.protoype.b = {}; a.prototype.b.c = function() { this.foo = 3; };
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:37 a.protoype.b = {}; a.prototype.b.c = function() { this.foo = 3; }; Parent(ASSIGN): testcode:1:19 a.protoype.b = {}; a.prototype.b.c = function() { this.foo = 3; };
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testPropertyOfMethod(CheckGlobalThisTest.java:158) Caused by: java.lang.NullPointerException
| 0.020 |
| CheckGlobalThisTest | testStaticMethod1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:6
a.b = function() { this.m2 = 5; }
Parent(ASSIGN): testcode:1:0
a.b = function() { this.m2 = 5; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:6 a.b = function() { this.m2 = 5; } Parent(ASSIGN): testcode:1:0 a.b = function() { this.m2 = 5; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticMethod1(CheckGlobalThisTest.java:163) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testStaticMethod2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:6
a.b = function() { return function() { this.m2 = 5; } }
Parent(ASSIGN): testcode:1:0
a.b = function() { return function() { this.m2 = 5; } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:6 a.b = function() { return function() { this.m2 = 5; } } Parent(ASSIGN): testcode:1:0 a.b = function() { return function() { this.m2 = 5; } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticMethod2(CheckGlobalThisTest.java:167) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testStaticMethod3 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:8
a.b.c = function() { return function() { this.m2 = 5; } }
Parent(ASSIGN): testcode:1:0
a.b.c = function() { return function() { this.m2 = 5; } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:8 a.b.c = function() { return function() { this.m2 = 5; } } Parent(ASSIGN): testcode:1:0 a.b.c = function() { return function() { this.m2 = 5; } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticMethod3(CheckGlobalThisTest.java:171) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testMethodInStaticFunction | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): testcode:1:0
function f() { A.prototype.m1 = function() { this.m2 = 5; } }
Parent(SCRIPT): testcode:1:0
function f() { A.prototype.m1 = function() { this.m2 = 5; } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): testcode:1:0 function f() { A.prototype.m1 = function() { this.m2 = 5; } } Parent(SCRIPT): testcode:1:0 function f() { A.prototype.m1 = function() { this.m2 = 5; } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testMethodInStaticFunction(CheckGlobalThisTest.java:175) Caused by: java.lang.NullPointerException
| 0.003 |
| CheckGlobalThisTest | testStaticFunctionInMethod1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:17
A.prototype.m1 = function() { function me() { this.m2 = 5; } }
Parent(ASSIGN): testcode:1:0
A.prototype.m1 = function() { function me() { this.m2 = 5; } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:17 A.prototype.m1 = function() { function me() { this.m2 = 5; } } Parent(ASSIGN): testcode:1:0 A.prototype.m1 = function() { function me() { this.m2 = 5; } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticFunctionInMethod1(CheckGlobalThisTest.java:179) Caused by: java.lang.NullPointerException
| 0.001 |
| CheckGlobalThisTest | testStaticFunctionInMethod2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:17
A.prototype.m1 = function() { function me() { function myself() { function andI() { this.m2 = 5; } } } }
Parent(ASSIGN): testcode:1:0
A.prototype.m1 = function() { function me() { function myself() { function andI() { this.m2 = 5; } } } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:17 A.prototype.m1 = function() { function me() { function myself() { function andI() { this.m2 = 5; } } } } Parent(ASSIGN): testcode:1:0 A.prototype.m1 = function() { function me() { function myself() { function andI() { this.m2 = 5; } } } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testStaticFunctionInMethod2(CheckGlobalThisTest.java:183) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testInnerFunction1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): testcode:1:0
function f() { function g() { return this.x; } }
Parent(SCRIPT): testcode:1:0
function f() { function g() { return this.x; } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): testcode:1:0 function f() { function g() { return this.x; } } Parent(SCRIPT): testcode:1:0 function f() { function g() { return this.x; } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testInnerFunction1(CheckGlobalThisTest.java:190) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testInnerFunction2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): testcode:1:0
function f() { var g = function() { return this.x; } }
Parent(SCRIPT): testcode:1:0
function f() { var g = function() { return this.x; } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): testcode:1:0 function f() { var g = function() { return this.x; } } Parent(SCRIPT): testcode:1:0 function f() { var g = function() { return this.x; } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testInnerFunction2(CheckGlobalThisTest.java:194) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testInnerFunction3 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): testcode:1:0
function f() { var x = {}; x.y = function() { return this.x; } }
Parent(SCRIPT): testcode:1:0
function f() { var x = {}; x.y = function() { return this.x; } }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): testcode:1:0 function f() { var x = {}; x.y = function() { return this.x; } } Parent(SCRIPT): testcode:1:0 function f() { var x = {}; x.y = function() { return this.x; } }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testInnerFunction3(CheckGlobalThisTest.java:198) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testInnerFunction4 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): testcode:1:0
function f() { var x = {}; x.y(function() { return this.x; }); }
Parent(SCRIPT): testcode:1:0
function f() { var x = {}; x.y(function() { return this.x; }); }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): testcode:1:0 function f() { var x = {}; x.y(function() { return this.x; }); } Parent(SCRIPT): testcode:1:0 function f() { var x = {}; x.y(function() { return this.x; }); }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testInnerFunction4(CheckGlobalThisTest.java:203) Caused by: java.lang.NullPointerException
| 0.001 |
| CheckGlobalThisTest | testIssue182a | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:16
var NS = {read: function() { return this.foo; }};
Parent(STRING_KEY read): testcode:1:10
var NS = {read: function() { return this.foo; }};
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:16 var NS = {read: function() { return this.foo; }}; Parent(STRING_KEY read): testcode:1:10 var NS = {read: function() { return this.foo; }};
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testIssue182a(CheckGlobalThisTest.java:208) Caused by: java.lang.NullPointerException
| 0.003 |
| CheckGlobalThisTest | testIssue182b | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:17
var NS = {write: function() { this.foo = 3; }};
Parent(STRING_KEY write): testcode:1:10
var NS = {write: function() { this.foo = 3; }};
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:17 var NS = {write: function() { this.foo = 3; }}; Parent(STRING_KEY write): testcode:1:10 var NS = {write: function() { this.foo = 3; }};
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testIssue182b(CheckGlobalThisTest.java:212) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testIssue182c | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:25
var NS = {}; NS.write2 = function() { this.foo = 3; };
Parent(ASSIGN): testcode:1:13
var NS = {}; NS.write2 = function() { this.foo = 3; };
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:25 var NS = {}; NS.write2 = function() { this.foo = 3; }; Parent(ASSIGN): testcode:1:13 var NS = {}; NS.write2 = function() { this.foo = 3; };
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testIssue182c(CheckGlobalThisTest.java:216) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testIssue182d | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION Foo): testcode:1:0
function Foo() {} Foo.prototype = {write: function() { this.foo = 3; }};
Parent(SCRIPT): testcode:1:0
function Foo() {} Foo.prototype = {write: function() { this.foo = 3; }};
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION Foo): testcode:1:0 function Foo() {} Foo.prototype = {write: function() { this.foo = 3; }}; Parent(SCRIPT): testcode:1:0 function Foo() {} Foo.prototype = {write: function() { this.foo = 3; }};
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testIssue182d(CheckGlobalThisTest.java:220) Caused by: java.lang.NullPointerException
| 0.003 |
| CheckGlobalThisTest | testLendsAnnotation1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:57
/** @constructor */ function F() {}dojo.declare(F, {foo: function() { return this.foo; }});
Parent(STRING_KEY foo): testcode:1:52
/** @constructor */ function F() {}dojo.declare(F, {foo: function() { return this.foo; }});
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:57 /** @constructor */ function F() {}dojo.declare(F, {foo: function() { return this.foo; }}); Parent(STRING_KEY foo): testcode:1:52 /** @constructor */ function F() {}dojo.declare(F, {foo: function() { return this.foo; }});
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testLendsAnnotation1(CheckGlobalThisTest.java:225) Caused by: java.lang.NullPointerException
| 0.003 |
| CheckGlobalThisTest | testLendsAnnotation2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:84
/** @constructor */ function F() {}dojo.declare(F, /** @lends {F.bar} */ ( {foo: function() { return this.foo; }}));
Parent(STRING_KEY foo): testcode:1:79
/** @constructor */ function F() {}dojo.declare(F, /** @lends {F.bar} */ ( {foo: function() { return this.foo; }}));
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:84 /** @constructor */ function F() {}dojo.declare(F, /** @lends {F.bar} */ ( {foo: function() { return this.foo; }})); Parent(STRING_KEY foo): testcode:1:79 /** @constructor */ function F() {}dojo.declare(F, /** @lends {F.bar} */ ( {foo: function() { return this.foo; }}));
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testLendsAnnotation2(CheckGlobalThisTest.java:230) Caused by: java.lang.NullPointerException
| 0.003 |
| CheckGlobalThisTest | testLendsAnnotation3 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:90
/** @constructor */ function F() {}dojo.declare(F, /** @lends {F.prototype} */ ( {foo: function() { return this.foo; }}));
Parent(STRING_KEY foo): testcode:1:85
/** @constructor */ function F() {}dojo.declare(F, /** @lends {F.prototype} */ ( {foo: function() { return this.foo; }}));
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:90 /** @constructor */ function F() {}dojo.declare(F, /** @lends {F.prototype} */ ( {foo: function() { return this.foo; }})); Parent(STRING_KEY foo): testcode:1:85 /** @constructor */ function F() {}dojo.declare(F, /** @lends {F.prototype} */ ( {foo: function() { return this.foo; }}));
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckGlobalThisTest.testLendsAnnotation3(CheckGlobalThisTest.java:236) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testSuppressWarning | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:8
var x = function() { this.complex = 5; };
Parent(NAME x): testcode:1:4
var x = function() { this.complex = 5; };
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:8 var x = function() { this.complex = 5; }; Parent(NAME x): testcode:1:4 var x = function() { this.complex = 5; };
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testSuppressWarning(CheckGlobalThisTest.java:242) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckGlobalThisTest | testArrowFunction1 | Failure | There should be one warning, repeated 2 time(s). Warnings: [] expected:<2> but was:<0>
junit.framework.AssertionFailedError: There should be one warning, repeated 2 time(s). Warnings: [] expected:<2> but was:<0> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1098) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testArrowFunction1(CheckGlobalThisTest.java:247)
| 0.004 |
| CheckGlobalThisTest | testArrowFunction2 | Failure | There should be one warning, repeated 2 time(s). Warnings: [] expected:<2> but was:<0>
junit.framework.AssertionFailedError: There should be one warning, repeated 2 time(s). Warnings: [] expected:<2> but was:<0> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1098) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testArrowFunction2(CheckGlobalThisTest.java:252)
| 0.002 |
| CheckGlobalThisTest | testArrowFunction3 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION Foo): testcode:1:0
function Foo() {} Foo.prototype.getFoo = () => this.foo;
Parent(SCRIPT): testcode:1:0
function Foo() {} Foo.prototype.getFoo = () => this.foo;
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION Foo): testcode:1:0 function Foo() {} Foo.prototype.getFoo = () => this.foo; Parent(SCRIPT): testcode:1:0 function Foo() {} Foo.prototype.getFoo = () => this.foo;
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testArrowFunction3(CheckGlobalThisTest.java:257) Caused by: java.lang.NullPointerException
| 0.001 |
| CheckGlobalThisTest | testArrowFunction4 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION Foo): testcode:1:0
function Foo() {} Foo.prototype.setFoo = (f) => { this.foo = f; };
Parent(SCRIPT): testcode:1:0
function Foo() {} Foo.prototype.setFoo = (f) => { this.foo = f; };
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION Foo): testcode:1:0 function Foo() {} Foo.prototype.setFoo = (f) => { this.foo = f; }; Parent(SCRIPT): testcode:1:0 function Foo() {} Foo.prototype.setFoo = (f) => { this.foo = f; };
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.CheckGlobalThisTest.testFailure(CheckGlobalThisTest.java:36) at com.google.javascript.jscomp.CheckGlobalThisTest.testArrowFunction4(CheckGlobalThisTest.java:263) Caused by: java.lang.NullPointerException
| 0.002 |
| CheckMissingGetCssNameTest | testMissingGetCssName | Success | | 0.008 |
| CheckMissingGetCssNameTest | testRecognizeGetCssName | Success | | 0.002 |
| CheckMissingGetCssNameTest | testIgnoreGetUniqueIdArguments | Success | | 0.004 |
| CheckMissingGetCssNameTest | testIgnoreAssignmentsToIdConstant | Success | | 0.005 |
| CheckMissingGetCssNameTest | testNotMissingGetCssName | Success | | 0.005 |
| CheckMissingGetCssNameTest | testDontCrashIfTheresNoQualifiedName | Success | | 0.002 |
| CheckMissingReturnTest | testReturnNotMissing | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckMissingReturnTest.testNotMissing(CheckMissingReturnTest.java:237) at com.google.javascript.jscomp.CheckMissingReturnTest.testNotMissing(CheckMissingReturnTest.java:242) at com.google.javascript.jscomp.CheckMissingReturnTest.testReturnNotMissing(CheckMissingReturnTest.java:73)
| 0.030 |
| CheckMissingReturnTest | testFinallyStatements | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckMissingReturnTest.testNotMissing(CheckMissingReturnTest.java:237) at com.google.javascript.jscomp.CheckMissingReturnTest.testNotMissing(CheckMissingReturnTest.java:242) at com.google.javascript.jscomp.CheckMissingReturnTest.testFinallyStatements(CheckMissingReturnTest.java:103)
| 0.002 |
| CheckMissingReturnTest | testKnownConditions | Failure | There should be one error. expected:<1> but was:<0>
junit.framework.AssertionFailedError: There should be one error. expected:<1> but was:<0> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1214) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.CheckMissingReturnTest.testMissing(CheckMissingReturnTest.java:233) at com.google.javascript.jscomp.CheckMissingReturnTest.testMissing(CheckMissingReturnTest.java:247) at com.google.javascript.jscomp.CheckMissingReturnTest.testKnownConditions(CheckMissingReturnTest.java:160)
| 0.006 |
| CheckMissingReturnTest | testKnownWhileLoop | Failure | There should be one error. expected:<1> but was:<0>
junit.framework.AssertionFailedError: There should be one error. expected:<1> but was:<0> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1214) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.CheckMissingReturnTest.testMissing(CheckMissingReturnTest.java:233) at com.google.javascript.jscomp.CheckMissingReturnTest.testMissing(CheckMissingReturnTest.java:247) at com.google.javascript.jscomp.CheckMissingReturnTest.testKnownWhileLoop(CheckMissingReturnTest.java:183)
| 0.014 |
| CheckMissingReturnTest | testInfiniteLoops | Success | | 0.012 |
| CheckMissingReturnTest | testMultiConditions | Failure | There should be one error. expected:<1> but was:<0>
junit.framework.AssertionFailedError: There should be one error. expected:<1> but was:<0> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1214) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.CheckMissingReturnTest.testMissing(CheckMissingReturnTest.java:233) at com.google.javascript.jscomp.CheckMissingReturnTest.testMissing(CheckMissingReturnTest.java:247) at com.google.javascript.jscomp.CheckMissingReturnTest.testMultiConditions(CheckMissingReturnTest.java:190)
| 0.002 |
| CheckMissingReturnTest | testIssue779 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME alert 1 [source_file: testcode]
IF 1 [source_file: testcode]
GT 1 [source_file: testcode]
NAME a 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
RETURN 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME a 1 [source_file: testcode]
NUMBER 5.0 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME alert 1 [source_file: testcode] IF 1 [source_file: testcode] GT 1 [source_file: testcode] NAME a 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] RETURN 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME a 1 [source_file: testcode] NUMBER 5.0 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckMissingReturnTest.testNotMissing(CheckMissingReturnTest.java:237) at com.google.javascript.jscomp.CheckMissingReturnTest.testNotMissing(CheckMissingReturnTest.java:242) at com.google.javascript.jscomp.CheckMissingReturnTest.testIssue779(CheckMissingReturnTest.java:195)
| 0.002 |
| CheckMissingReturnTest | testConstructors | Success | | 0.005 |
| CheckMissingReturnTest | testClosureAsserts | Success | | 0.008 |
| CheckMissingReturnTest | testMissingReturn | Failure | There should be one error. expected:<1> but was:<0>
junit.framework.AssertionFailedError: There should be one error. expected:<1> but was:<0> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1214) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.CheckMissingReturnTest.testMissing(CheckMissingReturnTest.java:233) at com.google.javascript.jscomp.CheckMissingReturnTest.testMissing(CheckMissingReturnTest.java:247) at com.google.javascript.jscomp.CheckMissingReturnTest.testMissingReturn(CheckMissingReturnTest.java:39)
| 0.002 |
| CheckPathsBetweenNodesTest | testSimple | Success | | 0.003 |
| CheckPathsBetweenNodesTest | testSomeValidPaths | Success | | 0.001 |
| CheckPathsBetweenNodesTest | testManyValidPaths | Success | | 0.000 |
| CheckPathsBetweenNodesTest | testCycles1 | Success | | 0.001 |
| CheckPathsBetweenNodesTest | testCycles2 | Success | | 0.000 |
| CheckPathsBetweenNodesTest | testCycles3 | Success | | 0.000 |
| CheckPathsBetweenNodesTest | testSomePath1 | Success | | 0.001 |
| CheckPathsBetweenNodesTest | testSomePath2 | Success | | 0.000 |
| CheckPathsBetweenNodesTest | testSomePathRevisiting | Success | | 0.001 |
| CheckPathsBetweenNodesTest | testNonInclusive | Success | | 0.000 |
| CheckProvidesTest | testHarmlessProcedural | Success | | 0.003 |
| CheckProvidesTest | testHarmless | Success | | 0.002 |
| CheckProvidesTest | testIrrelevant | Success | | 0.001 |
| CheckProvidesTest | testNoProvideInnerClass | Success | | 0.002 |
| CheckProvidesTest | testMissingGoogProvide | Success | | 0.002 |
| CheckProvidesTest | testMissingGoogProvideWithNamespace | Success | | 0.002 |
| CheckProvidesTest | testMissingGoogProvideWithinGoogScope | Success | | 0.002 |
| CheckProvidesTest | testGoogProvideInWrongFileShouldCreateWarning | Success | | 0.002 |
| CheckProvidesTest | testGoogProvideMissingConstructorIsOkForNow | Success | | 0.001 |
| CheckProvidesTest | testIgnorePrivateConstructor | Success | | 0.001 |
| CheckProvidesTest | testIgnorePrivatelyAnnotatedConstructor | Success | | 0.003 |
| CheckRegExpTest | testRegExp | Success | | 0.054 |
| CheckRegExpTest | testInvalidRange | Success | | 0.008 |
| CheckRequiresForConstructorsTest | testPassWithOneNew | Success | | 0.008 |
| CheckRequiresForConstructorsTest | testPassWithNoNewNodes | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testPassWithOneNewOuterClass | Success | | 0.003 |
| CheckRequiresForConstructorsTest | testPassWithOneNewOuterClassWithUpperPrefix | Success | | 0.003 |
| CheckRequiresForConstructorsTest | testFailWithOneNew | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testPassWithTwoNewNodes | Success | | 0.003 |
| CheckRequiresForConstructorsTest | testPassWithNestedNewNodes | Success | | 0.003 |
| CheckRequiresForConstructorsTest | testFailWithNestedNewNodes | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testFailWithImplements | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testPassWithImplements | Success | | 0.001 |
| CheckRequiresForConstructorsTest | testFailWithExtends | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testPassWithExtends | Success | | 0.001 |
| CheckRequiresForConstructorsTest | testPassWithLocalFunctions | Success | | 0.001 |
| CheckRequiresForConstructorsTest | testPassWithLocalVariables | Success | | 0.001 |
| CheckRequiresForConstructorsTest | testFailWithLocalVariableInMoreThanOneFile | Success | | 0.003 |
| CheckRequiresForConstructorsTest | testNewNodesMetaTraditionalFunctionForm | Success | | 0.003 |
| CheckRequiresForConstructorsTest | testNewNodesMeta | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testShouldWarnWhenInstantiatingObjectsDefinedInGlobalScope | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testShouldWarnWhenInstantiatingGlobalClassesFromGlobalScope | Success | | 0.003 |
| CheckRequiresForConstructorsTest | testIgnoresNativeObject | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testNewNodesWithMoreThanOneFile | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testPassWithoutWarningsAndMultipleFiles | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testFailWithWarningsAndMultipleFiles | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testCanStillCallNumberWithoutNewOperator | Success | | 0.004 |
| CheckRequiresForConstructorsTest | testRequiresAreCaughtBeforeProcessed | Success | | 0.012 |
| CheckRequiresForConstructorsTest | testNoWarningsForThisConstructor | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testBug2062487 | Success | | 0.003 |
| CheckRequiresForConstructorsTest | testIgnoreDuplicateWarningsForSingleClasses | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testVarConstructorName | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testVarConstructorFunction | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testAssignConstructorName | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testAssignConstructorFunction | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testConstructorFunctionReference | Success | | 0.001 |
| CheckRequiresForConstructorsTest | testMissingGoogRequireNoRootScope | Success | | 0.001 |
| CheckRequiresForConstructorsTest | testMissingGoogRequireFromGoogDefineClass | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testNoMissingGoogRequireFromGoogDefineClass | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testNoMissingGoogRequireFromGoogDefineClassSameFile | Success | | 0.002 |
| CheckRequiresForConstructorsTest | testAliasConstructorToPrivateVariable | Success | | 0.004 |
| CheckRequiresForConstructorsTest | testMissingGoogRequireFromGoogScope | Success | | 0.009 |
| CheckRequiresForConstructorsTest | testNoMissingGoogRequireFromGoogScope | Success | | 0.004 |
| CheckRequiresForConstructorsTest | testNoMissingGoogRequireFromGoogScopeSameFile | Success | | 0.004 |
| CheckRequiresForConstructorsTest | testMissingGoogRequireFromGoogModule | Success | | 0.005 |
| CheckRequiresForConstructorsTest | testNoMissingGoogRequireFromGoogModule | Success | | 0.004 |
| CheckRequiresForConstructorsTest | testNoMissingGoogRequireFromGoogModuleSameFile | Success | | 0.002 |
| CheckSideEffectsTest | testUselessCode | Success | | 0.039 |
| CheckSideEffectsTest | testUselessCodeInFor | Success | | 0.014 |
| CheckSideEffectsTest | testTypeAnnotations | Success | | 0.009 |
| CheckSideEffectsTest | testJSDocComments | Success | | 0.003 |
| CheckSideEffectsTest | testIssue80 | Success | | 0.003 |
| CheckSideEffectsTest | testIsue504 | Success | | 0.002 |
| CheckSideEffectsTest | testExternFunctions | Success | | 0.010 |
| CheckSideEffectsTest | testExternPropertyFunctions | Success | | 0.007 |
| CheckSuspiciousCodeTest | testComparison1 | Success | | 0.012 |
| CheckSuspiciousCodeTest | testComparison2 | Success | | 0.013 |
| CheckSuspiciousCodeTest | testSuspiciousSemi | Success | | 0.033 |
| CheckSuspiciousCodeTest | testSuspiciousIn | Success | | 0.019 |
| CheckSuspiciousCodeTest | testComparison3 | Success | | 0.015 |
| CheckSuspiciousCodeTest | testComparison4 | Success | | 0.014 |
| CheckSuspiciousCodeTest | testInstanceOf | Success | | 0.049 |
| CheckUnreachableCodeTest | testCorrectSimple | Failure | Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0
JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckUnreachableCodeTest.testCorrectSimple(CheckUnreachableCodeTest.java:31)
| 0.002 |
| CheckUnreachableCodeTest | testIncorrectSimple | Success | | 0.006 |
| CheckUnreachableCodeTest | testCorrectSwitchReturn | Failure | Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0
JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckUnreachableCodeTest.testCorrectSwitchReturn(CheckUnreachableCodeTest.java:59)
| 0.002 |
| CheckUnreachableCodeTest | testCorrectIfReturns | Failure | Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0
JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckUnreachableCodeTest.testCorrectIfReturns(CheckUnreachableCodeTest.java:46)
| 0.002 |
| CheckUnreachableCodeTest | testInCorrectIfReturns | Success | | 0.001 |
| CheckUnreachableCodeTest | testInCorrectSwitchReturn | Success | | 0.004 |
| CheckUnreachableCodeTest | testCorrectLoopBreaksAndContinues | Failure | Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0
JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckUnreachableCodeTest.testCorrectLoopBreaksAndContinues(CheckUnreachableCodeTest.java:82)
| 0.003 |
| CheckUnreachableCodeTest | testInCorrectLoopBreaksAndContinues | Success | | 0.017 |
| CheckUnreachableCodeTest | testUncheckedWhileInDo | Success | | 0.002 |
| CheckUnreachableCodeTest | testVarDeclaration | Success | | 0.004 |
| CheckUnreachableCodeTest | testUncheckedConditionInFor | Success | | 0.003 |
| CheckUnreachableCodeTest | testFunctionDeclaration | Failure | Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0
JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckUnreachableCodeTest.testFunctionDeclaration(CheckUnreachableCodeTest.java:111)
| 0.003 |
| CheckUnreachableCodeTest | testReachableTryCatchFinally | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckUnreachableCodeTest.testReachableTryCatchFinally(CheckUnreachableCodeTest.java:121)
| 0.002 |
| CheckUnreachableCodeTest | testUnreachableCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CheckUnreachableCodeTest.assertUnreachable(CheckUnreachableCodeTest.java:213) at com.google.javascript.jscomp.CheckUnreachableCodeTest.testUnreachableCatch(CheckUnreachableCodeTest.java:130)
| 0.002 |
| CheckUnreachableCodeTest | testSpuriousBreak | Failure | Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0
JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckUnreachableCodeTest.testSpuriousBreak(CheckUnreachableCodeTest.java:135)
| 0.003 |
| CheckUnreachableCodeTest | testInstanceOfThrowsException | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
INSTANCEOF 1 [source_file: testcode]
NAME value 1 [source_file: testcode]
NAME type 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
RETURN 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] INSTANCEOF 1 [source_file: testcode] NAME value 1 [source_file: testcode] NAME type 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] RETURN 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckUnreachableCodeTest.testInstanceOfThrowsException(CheckUnreachableCodeTest.java:139)
| 0.002 |
| CheckUnreachableCodeTest | testFalseCondition | Success | | 0.005 |
| CheckUnreachableCodeTest | testUnreachableLoop | Success | | 0.002 |
| CheckUnreachableCodeTest | testInfiniteLoop | Failure | Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0
JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckUnreachableCodeTest.testInfiniteLoop(CheckUnreachableCodeTest.java:153)
| 0.004 |
| CheckUnreachableCodeTest | testSuppression | Failure | Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 4 : 0
JSC_UNREACHABLE_CODE. unreachable code at testcode line 4 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_UNREACHABLE_CODE. unreachable code at testcode line 4 : 0 JSC_UNREACHABLE_CODE. unreachable code at testcode line 4 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CheckUnreachableCodeTest.testSuppression(CheckUnreachableCodeTest.java:174)
| 0.009 |
| CleanupPassesTest | testCleanupPassOrder | Success | | 0.001 |
| CleanupPassesTest | testNoOptimizations | Success | | 0.000 |
| ClosureCodeRemovalTest | testRemoveAbstract | Success | | 0.002 |
| ClosureCodeRemovalTest | testRemoveMultiplySetAbstract | Success | | 0.001 |
| ClosureCodeRemovalTest | testDoNotRemoveNormal | Success | | 0.002 |
| ClosureCodeRemovalTest | testDoNotRemoveOverride | Success | | 0.010 |
| ClosureCodeRemovalTest | testDoNotRemoveNonQualifiedName | Success | | 0.002 |
| ClosureCodeRemovalTest | testAssertionRemoval1 | Success | | 0.002 |
| ClosureCodeRemovalTest | testStopRemovalAtNonQualifiedName | Success | | 0.003 |
| ClosureCodeRemovalTest | testAssertionRemoval2 | Success | | 0.002 |
| ClosureCodeRemovalTest | testAssertionRemoval3 | Success | | 0.002 |
| ClosureCodeRemovalTest | testAssertionRemoval4 | Success | | 0.002 |
| ClosureCodingConventionTest | testVarAndOptionalParams | Success | | 0.000 |
| ClosureCodingConventionTest | testInlineName | Success | | 0.000 |
| ClosureCodingConventionTest | testExportedName | Success | | 0.000 |
| ClosureCodingConventionTest | testPrivateName | Success | | 0.000 |
| ClosureCodingConventionTest | testEnumKey | Success | | 0.000 |
| ClosureCodingConventionTest | testInheritanceDetection1 | Success | | 0.001 |
| ClosureCodingConventionTest | testInheritanceDetection2 | Failure | expected:<[A]> but was:<[goog]>
junit.framework.ComparisonFailure: expected:<[A]> but was:<[goog]> at com.google.javascript.jscomp.ClosureCodingConventionTest.assertDefinesClasses(ClosureCodingConventionTest.java:265) at com.google.javascript.jscomp.ClosureCodingConventionTest.testInheritanceDetection2(ClosureCodingConventionTest.java:102)
| 0.002 |
| ClosureCodingConventionTest | testInheritanceDetection3 | Success | | 0.000 |
| ClosureCodingConventionTest | testInheritanceDetection4 | Failure | expected:<goog[.A]> but was:<goog[]>
junit.framework.ComparisonFailure: expected:<goog[.A]> but was:<goog[]> at com.google.javascript.jscomp.ClosureCodingConventionTest.assertDefinesClasses(ClosureCodingConventionTest.java:265) at com.google.javascript.jscomp.ClosureCodingConventionTest.testInheritanceDetection4(ClosureCodingConventionTest.java:110)
| 0.001 |
| ClosureCodingConventionTest | testInheritanceDetection5 | Success | | 0.000 |
| ClosureCodingConventionTest | testInheritanceDetection6 | Failure | Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@7591335e
junit.framework.AssertionFailedError: Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@7591335e at com.google.javascript.jscomp.ClosureCodingConventionTest.assertNotClassDefining(ClosureCodingConventionTest.java:256) at com.google.javascript.jscomp.ClosureCodingConventionTest.testInheritanceDetection6(ClosureCodingConventionTest.java:118)
| 0.001 |
| ClosureCodingConventionTest | testInheritanceDetection7 | Failure | Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@4a68ed51
junit.framework.AssertionFailedError: Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@4a68ed51 at com.google.javascript.jscomp.ClosureCodingConventionTest.assertNotClassDefining(ClosureCodingConventionTest.java:256) at com.google.javascript.jscomp.ClosureCodingConventionTest.testInheritanceDetection7(ClosureCodingConventionTest.java:122)
| 0.001 |
| ClosureCodingConventionTest | testInheritanceDetection8 | Failure | Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@3c5617e6
junit.framework.AssertionFailedError: Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@3c5617e6 at com.google.javascript.jscomp.ClosureCodingConventionTest.assertNotClassDefining(ClosureCodingConventionTest.java:256) at com.google.javascript.jscomp.ClosureCodingConventionTest.testInheritanceDetection8(ClosureCodingConventionTest.java:126)
| 0.002 |
| ClosureCodingConventionTest | testInheritanceDetection9 | Success | | 0.001 |
| ClosureCodingConventionTest | testInheritanceDetection10 | Failure | expected:<[A]> but was:<[goog]>
junit.framework.ComparisonFailure: expected:<[A]> but was:<[goog]> at com.google.javascript.jscomp.ClosureCodingConventionTest.assertDefinesClasses(ClosureCodingConventionTest.java:265) at com.google.javascript.jscomp.ClosureCodingConventionTest.testInheritanceDetection10(ClosureCodingConventionTest.java:135)
| 0.002 |
| ClosureCodingConventionTest | testInheritanceDetection11 | Success | | 0.001 |
| ClosureCodingConventionTest | testInheritanceDetection12 | Success | | 0.001 |
| ClosureCodingConventionTest | testInheritanceDetection13 | Success | | 0.001 |
| ClosureCodingConventionTest | testInheritanceDetection14 | Error | N/A
java.lang.NullPointerException at com.google.javascript.jscomp.ClosureCodingConvention.getClassesDefinedByCall(ClosureCodingConvention.java:151) at com.google.javascript.jscomp.ClosureCodingConventionTest.assertNotClassDefining(ClosureCodingConventionTest.java:256) at com.google.javascript.jscomp.ClosureCodingConventionTest.testInheritanceDetection14(ClosureCodingConventionTest.java:152)
| 0.001 |
| ClosureCodingConventionTest | testInheritanceDetectionPostCollapseProperties | Error | N/A
java.lang.NullPointerException at com.google.javascript.jscomp.ClosureCodingConvention.getClassesDefinedByCall(ClosureCodingConvention.java:151) at com.google.javascript.jscomp.ClosureCodingConventionTest.assertNotClassDefining(ClosureCodingConventionTest.java:256) at com.google.javascript.jscomp.ClosureCodingConventionTest.testInheritanceDetectionPostCollapseProperties(ClosureCodingConventionTest.java:157)
| 0.001 |
| ClosureCodingConventionTest | testObjectLiteralCast | Error | N/A
java.lang.NullPointerException at com.google.javascript.jscomp.ClosureCodingConvention.getObjectLiteralCast(ClosureCodingConvention.java:383) at com.google.javascript.jscomp.ClosureCodingConventionTest.assertNotObjectLiteralCast(ClosureCodingConventionTest.java:246) at com.google.javascript.jscomp.ClosureCodingConventionTest.testObjectLiteralCast(ClosureCodingConventionTest.java:161)
| 0.001 |
| ClosureCodingConventionTest | testFunctionBind | Success | | 0.009 |
| ClosureCodingConventionTest | testRequire | Success | | 0.001 |
| ClosureCodingConventionTest | testApplySubclassRelationship | Success | | 0.001 |
| ClosureOptimizePrimitivesTest | testObjectCreateNonConstKey | Success | | 0.002 |
| ClosureOptimizePrimitivesTest | testObjectCreateOddParams | Success | | 0.001 |
| ClosureOptimizePrimitivesTest | testObjectCreate1 | Success | | 0.001 |
| ClosureOptimizePrimitivesTest | testObjectCreate2 | Success | | 0.003 |
| ClosureOptimizePrimitivesTest | testObjectCreate3 | Success | | 0.002 |
| ClosureOptimizePrimitivesTest | testObjectCreate4 | Success | | 0.002 |
| ClosureOptimizePrimitivesTest | testObjectCreate5 | Success | | 0.001 |
| ClosureOptimizePrimitivesTest | testObjectCreateSetNonConstKey | Success | | 0.002 |
| ClosureOptimizePrimitivesTest | testObjectCreateSet1 | Success | | 0.002 |
| ClosureOptimizePrimitivesTest | testObjectCreateSet2 | Success | | 0.003 |
| ClosureOptimizePrimitivesTest | testObjectCreateSet3 | Success | | 0.002 |
| ClosureOptimizePrimitivesTest | testObjectCreateSet4 | Success | | 0.002 |
| ClosureReverseAbstractInterpreterTest | testGoogIsDef1 | Success | | 0.012 |
| ClosureReverseAbstractInterpreterTest | testGoogIsDef2 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsNull3 | Success | | 0.002 |
| ClosureReverseAbstractInterpreterTest | testGoogIsNull4 | Success | | 0.011 |
| ClosureReverseAbstractInterpreterTest | testGoogIsDefAndNotNull1 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsDefAndNotNull2 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsDefAndNotNull3 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsDef3 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsDef4 | Success | | 0.000 |
| ClosureReverseAbstractInterpreterTest | testGoogIsNull1 | Success | | 0.000 |
| ClosureReverseAbstractInterpreterTest | testGoogIsNull2 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsDefAndNotNull4 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsDefAndNotNull5 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsString1 | Success | | 0.002 |
| ClosureReverseAbstractInterpreterTest | testGoogIsString2 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsBoolean1 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsBoolean2 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsBoolean3 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsBoolean4 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsNumber | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsFunction | Success | | 0.002 |
| ClosureReverseAbstractInterpreterTest | testGoogIsFunction2 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsFunction3 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsFunctionOnNull | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsArray1 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsArray2 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsArray3 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsArray4 | Success | | 0.002 |
| ClosureReverseAbstractInterpreterTest | testGoogIsArrayOnNull | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsObjectOnNull | Success | | 0.002 |
| ClosureReverseAbstractInterpreterTest | testGoogIsObject1 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsObject2 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsObject3 | Success | | 0.001 |
| ClosureReverseAbstractInterpreterTest | testGoogIsObject4 | Success | | 0.001 |
| ClosureRewriteClassTest | testBasic2 | Success | | 0.003 |
| ClosureRewriteClassTest | testBasic1 | Success | | 0.003 |
| ClosureRewriteClassTest | testBasic3 | Success | | 0.003 |
| ClosureRewriteClassTest | testAnnotations1 | Success | | 0.005 |
| ClosureRewriteClassTest | testAnnotations2a | Success | | 0.004 |
| ClosureRewriteClassTest | testAnnotations2b | Success | | 0.005 |
| ClosureRewriteClassTest | testAnnotations3a | Failure | There should be one warning, repeated 1 time(s). Warnings: [JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 2 : 25, JSC_CONFLICTING_SHAPE_TYPE. cannot extend this type; structs can only extend structs at testcode line 3 : 15] expected:<1> but was:<2>
junit.framework.AssertionFailedError: There should be one warning, repeated 1 time(s). Warnings: [JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 2 : 25, JSC_CONFLICTING_SHAPE_TYPE. cannot extend this type; structs can only extend structs at testcode line 3 : 15] expected:<1> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1098) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.ClosureRewriteClassTest.testAnnotations3a(ClosureRewriteClassTest.java:139)
| 0.004 |
| ClosureRewriteClassTest | testAnnotations3b | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 2 : 45 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 2 : 45 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.ClosureRewriteClassTest.testAnnotations3b(ClosureRewriteClassTest.java:157)
| 0.005 |
| ClosureRewriteClassTest | testInnerClass1 | Success | | 0.003 |
| ClosureRewriteClassTest | testComplete1 | Success | | 0.002 |
| ClosureRewriteClassTest | testComplete2 | Success | | 0.003 |
| ClosureRewriteClassTest | testClassWithStaticInitFn | Success | | 0.003 |
| ClosureRewriteClassTest | testInvalid1 | Success | | 0.008 |
| ClosureRewriteClassTest | testInvalid2 | Success | | 0.002 |
| ClosureRewriteClassTest | testInvalid3 | Success | | 0.002 |
| ClosureRewriteClassTest | testInvalid4 | Success | | 0.003 |
| ClosureRewriteClassTest | testInvalid5 | Success | | 0.001 |
| ClosureRewriteClassTest | testInvalid6 | Failure | There should be one error. expected:<1> but was:<0>
junit.framework.AssertionFailedError: There should be one error. expected:<1> but was:<0> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1214) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:765) at com.google.javascript.jscomp.ClosureRewriteClassTest.testInvalid6(ClosureRewriteClassTest.java:355)
| 0.001 |
| ClosureRewriteClassTest | testNgInject | Success | | 0.002 |
| ClosureRewriteClassTest | testNgInject_onClass | Success | | 0.001 |
| ClosureRewriteModuleTest | testAliasShadowsGlobal1 | Success | | 0.002 |
| ClosureRewriteModuleTest | testInvalidGoogModuleGet1 | Success | | 0.002 |
| ClosureRewriteModuleTest | testInvalidGoogModuleGet2 | Success | | 0.001 |
| ClosureRewriteModuleTest | testBundle2 | Success | | 0.002 |
| ClosureRewriteModuleTest | testAliasShadowsGlobal2 | Success | | 0.001 |
| ClosureRewriteModuleTest | testBundle3 | Success | | 0.002 |
| ClosureRewriteModuleTest | testInvalidRequire | Success | | 0.001 |
| ClosureRewriteModuleTest | testGoogModuleGet1 | Success | | 0.001 |
| ClosureRewriteModuleTest | testGoogModuleGet2 | Success | | 0.002 |
| ClosureRewriteModuleTest | testAliasShadowsGlobal3 | Success | | 0.001 |
| ClosureRewriteModuleTest | testExport5 | Success | | 0.002 |
| ClosureRewriteModuleTest | testExport6 | Success | | 0.003 |
| ClosureRewriteModuleTest | testRequiresRetainOrder | Success | | 0.003 |
| ClosureRewriteModuleTest | testSetTestOnly | Success | | 0.002 |
| ClosureRewriteModuleTest | testBasic0 | Success | | 0.003 |
| ClosureRewriteModuleTest | testBundle1 | Success | | 0.002 |
| ClosureRewriteModuleTest | testExport1 | Success | | 0.002 |
| ClosureRewriteModuleTest | testExport2 | Success | | 0.002 |
| ClosureRewriteModuleTest | testExport3 | Success | | 0.002 |
| ClosureRewriteModuleTest | testExport4 | Success | | 0.001 |
| ClosureRewriteModuleTest | testBundle4 | Success | | 0.002 |
| ClosureRewriteModuleTest | testDeclareLegacyNamespace | Success | | 0.002 |
| ClosureRewriteModuleTest | testBundle5 | Success | | 0.002 |
| ClosureRewriteModuleTest | testThis | Success | | 0.002 |
| ClosureRewriteModuleTest | testInvalidModule | Success | | 0.003 |
| ClosureRewriteModuleTest | testBasic2 | Success | | 0.002 |
| ClosureRewriteModuleTest | testBasic1 | Success | | 0.002 |
| CoalesceVariableNamesTest | testDifferentBlock | Success | | 0.008 |
| CoalesceVariableNamesTest | testMergeThreeVarNames | Success | | 0.002 |
| CoalesceVariableNamesTest | testLoops | Success | | 0.007 |
| CoalesceVariableNamesTest | testEscaped | Success | | 0.002 |
| CoalesceVariableNamesTest | testFor | Success | | 0.003 |
| CoalesceVariableNamesTest | testLoopInductionVar | Success | | 0.013 |
| CoalesceVariableNamesTest | testSwitchCase | Success | | 0.003 |
| CoalesceVariableNamesTest | testDuplicatedVar | Success | | 0.002 |
| CoalesceVariableNamesTest | testTryCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CoalesceVariableNamesTest.inFunction(CoalesceVariableNamesTest.java:443) at com.google.javascript.jscomp.CoalesceVariableNamesTest.testTryCatch(CoalesceVariableNamesTest.java:163)
| 0.002 |
| CoalesceVariableNamesTest | testDeadAssignment | Success | | 0.009 |
| CoalesceVariableNamesTest | testParameter | Success | | 0.002 |
| CoalesceVariableNamesTest | testParameter2 | Success | | 0.006 |
| CoalesceVariableNamesTest | testParameter3 | Success | | 0.003 |
| CoalesceVariableNamesTest | testParameter4 | Success | | 0.002 |
| CoalesceVariableNamesTest | testParameter4b | Success | | 0.003 |
| CoalesceVariableNamesTest | testLiveRangeChangeWithinCfgNode | Success | | 0.012 |
| CoalesceVariableNamesTest | testLiveRangeChangeWithinCfgNode2 | Success | | 0.006 |
| CoalesceVariableNamesTest | testFunctionNameReuse | Success | | 0.000 |
| CoalesceVariableNamesTest | testBug1401831 | Success | | 0.001 |
| CoalesceVariableNamesTest | testDeterministic | Success | | 0.007 |
| CoalesceVariableNamesTest | testVarLiveRangeCross | Success | | 0.012 |
| CoalesceVariableNamesTest | testBug1445366 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME win 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME iframe 1 [source_file: testcode]
STRING contentWindow 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
NAME win 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING setupWinUtil_ 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING load 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME win 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME iframe 1 [source_file: testcode] STRING contentWindow 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] NAME win 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING setupWinUtil_ 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING load 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CoalesceVariableNamesTest.inFunction(CoalesceVariableNamesTest.java:443) at com.google.javascript.jscomp.CoalesceVariableNamesTest.inFunction(CoalesceVariableNamesTest.java:439) at com.google.javascript.jscomp.CoalesceVariableNamesTest.testBug1445366(CoalesceVariableNamesTest.java:326)
| 0.002 |
| CoalesceVariableNamesTest | testCannotReuseAnyParamsBug | Success | | 0.005 |
| CoalesceVariableNamesTest | testForInWithAssignment | Success | | 0.004 |
| CoalesceVariableNamesTest | testUsePseduoNames | Success | | 0.012 |
| CoalesceVariableNamesTest | testMaxVars | Success | | 0.019 |
| CoalesceVariableNamesTest | testSimple | Success | | 0.028 |
| CoalesceVariableNamesTest | testForIn | Success | | 0.004 |
| CodePrinterEs6TypedTest | testFunctionParamDeclaration | Success | | 0.003 |
| CodePrinterEs6TypedTest | testFunctionParamDeclaration_defaultValue | Success | | 0.000 |
| CodePrinterEs6TypedTest | testFunctionParamDeclaration_arrow | Success | | 0.001 |
| CodePrinterEs6TypedTest | testFunctionReturn_arrow | Success | | 0.001 |
| CodePrinterEs6TypedTest | testCompositeType | Success | | 0.001 |
| CodePrinterEs6TypedTest | testArrayType | Success | | 0.001 |
| CodePrinterEs6TypedTest | testArrayType_qualifiedType | Success | | 0.001 |
| CodePrinterEs6TypedTest | testParameterizedType | Success | | 0.001 |
| CodePrinterEs6TypedTest | testVariableDeclaration | Success | | 0.002 |
| CodePrinterEs6TypedTest | testFunctionReturn | Success | | 0.000 |
| CodePrinterTest | testPrintArrayPatternVar | Success | | 0.004 |
| CodePrinterTest | testPrintArrayPatternLet | Success | | 0.006 |
| CodePrinterTest | testHtmlComments | Success | | 0.001 |
| CodePrinterTest | testPrint | Success | | 0.074 |
| CodePrinterTest | testTypeAnnotations | Success | | 0.002 |
| CodePrinterTest | testPrintArrayPatternConst | Success | | 0.005 |
| CodePrinterTest | testPrintArrayPatternAssign | Success | | 0.005 |
| CodePrinterTest | testPrintArrayPatternWithInitializer | Success | | 0.002 |
| CodePrinterTest | testPrintNestedArrayPattern | Success | | 0.002 |
| CodePrinterTest | testPrintObjectPatternVar | Success | | 0.001 |
| CodePrinterTest | testPrintObjectPatternLet | Success | | 0.001 |
| CodePrinterTest | testPrintObjectPatternConst | Success | | 0.001 |
| CodePrinterTest | testPrintObjectPatternAssign | Success | | 0.002 |
| CodePrinterTest | testPrintNestedObjectPattern | Success | | 0.003 |
| CodePrinterTest | testPrintObjectPatternInitializer | Success | | 0.005 |
| CodePrinterTest | testPrintMixedDestructuring | Success | | 0.005 |
| CodePrinterTest | testPrintDestructuringInParamList | Success | | 0.004 |
| CodePrinterTest | testBreakTrustedStrings | Success | | 0.003 |
| CodePrinterTest | testBreakUntrustedStrings | Success | | 0.006 |
| CodePrinterTest | testPrintArray | Success | | 0.003 |
| CodePrinterTest | testHook | Success | | 0.009 |
| CodePrinterTest | testPrintInOperatorInForLoop | Success | | 0.006 |
| CodePrinterTest | testForOf | Success | | 0.002 |
| CodePrinterTest | testLetFor | Success | | 0.002 |
| CodePrinterTest | testConstFor | Success | | 0.002 |
| CodePrinterTest | testLiteralProperty | Success | | 0.001 |
| CodePrinterTest | testAmbiguousElseClauses | Success | | 0.000 |
| CodePrinterTest | testLineBreak | Success | | 0.002 |
| CodePrinterTest | testPreferLineBreakAtEndOfFile | Success | | 0.004 |
| CodePrinterTest | testPrettyPrinter | Failure | expected:<do {
alert();
}[] while (true);
> but was:<do {
alert();
}[
] while (true);
>
junit.framework.ComparisonFailure: expected:<do { alert(); }[] while (true); > but was:<do { alert(); }[ ] while (true); > at com.google.javascript.jscomp.CodePrinterTest.assertPrettyPrint(CodePrinterTest.java:1108) at com.google.javascript.jscomp.CodePrinterTest.assertPrettyPrint(CodePrinterTest.java:1101) at com.google.javascript.jscomp.CodePrinterTest.testPrettyPrinter(CodePrinterTest.java:708)
| 0.007 |
| CodePrinterTest | testPrettyPrinter2 | Success | | 0.001 |
| CodePrinterTest | testPrettyPrinter3 | Success | | 0.002 |
| CodePrinterTest | testPrettyPrinter4 | Success | | 0.002 |
| CodePrinterTest | testPrettyPrinter_arrow | Success | | 0.000 |
| CodePrinterTest | testPrettyPrinter_defaultValue | Success | | 0.001 |
| CodePrinterTest | testPrettyPrinter_spaceBeforeSingleQuote | Success | | 0.001 |
| CodePrinterTest | testPrettyPrinter_spaceBeforeUnaryOperators | Success | | 0.004 |
| CodePrinterTest | testTypeAnnotationsTypeDef | Success | | 0.002 |
| CodePrinterTest | testTypeAnnotationsAssign | Success | | 0.002 |
| CodePrinterTest | testTypeAnnotationsNamespace | Success | | 0.002 |
| CodePrinterTest | testTypeAnnotationsMemberSubclass | Success | | 0.002 |
| CodePrinterTest | testTypeAnnotationsInterface | Success | | 0.002 |
| CodePrinterTest | testTypeAnnotationsMultipleInterface | Success | | 0.002 |
| CodePrinterTest | testTypeAnnotationsMember | Success | | 0.002 |
| CodePrinterTest | testTypeAnnotationsImplements | Success | | 0.002 |
| CodePrinterTest | testU2UFunctionTypeAnnotation1 | Success | | 0.002 |
| CodePrinterTest | testU2UFunctionTypeAnnotation2 | Success | | 0.001 |
| CodePrinterTest | testEmitUnknownParamTypesAsAllType | Success | | 0.001 |
| CodePrinterTest | testOptionalTypesAnnotation | Success | | 0.002 |
| CodePrinterTest | testVariableArgumentsTypesAnnotation | Success | | 0.002 |
| CodePrinterTest | testTempConstructor | Success | | 0.002 |
| CodePrinterTest | testEnumAnnotation1 | Success | | 0.001 |
| CodePrinterTest | testEnumAnnotation2 | Success | | 0.002 |
| CodePrinterTest | testSubtraction | Success | | 0.001 |
| CodePrinterTest | testFunctionWithCall | Success | | 0.001 |
| CodePrinterTest | testLineLength | Success | | 0.002 |
| CodePrinterTest | testParsePrintParse | Success | | 0.064 |
| CodePrinterTest | testDoLoopIECompatibility | Success | | 0.007 |
| CodePrinterTest | testFunctionSafariCompatibility | Success | | 0.006 |
| CodePrinterTest | testExponents | Success | | 0.022 |
| CodePrinterTest | testBiggerThanMaxLongNumericLiterals | Failure | Unexpected warnings or errors.
Error:JSC_PARSE_ERROR. Parse error. Octal Integer Literal must contain at least one digit at [testcode] line 1 : 2
expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Error:JSC_PARSE_ERROR. Parse error. Octal Integer Literal must contain at least one digit at [testcode] line 1 : 2 expected:<0> but was:<1> at com.google.javascript.jscomp.CodePrinterTestBase.checkUnexpectedErrorsOrWarnings(CodePrinterTestBase.java:92) at com.google.javascript.jscomp.CodePrinterTestBase.parse(CodePrinterTestBase.java:71) at com.google.javascript.jscomp.CodePrinterTestBase.parse(CodePrinterTestBase.java:44) at com.google.javascript.jscomp.CodePrinterTestBase.parsePrint(CodePrinterTestBase.java:97) at com.google.javascript.jscomp.CodePrinterTestBase.assertPrint(CodePrinterTestBase.java:126) at com.google.javascript.jscomp.CodePrinterTest.testBiggerThanMaxLongNumericLiterals(CodePrinterTest.java:1358)
| 0.005 |
| CodePrinterTest | testDirectEval | Success | | 0.002 |
| CodePrinterTest | testIndirectEval | Success | | 0.001 |
| CodePrinterTest | testFreeCall1 | Success | | 0.003 |
| CodePrinterTest | testFreeCall2 | Success | | 0.001 |
| CodePrinterTest | testFreeCall3 | Success | | 0.001 |
| CodePrinterTest | testPrintScript | Success | | 0.000 |
| CodePrinterTest | testObjectLit | Success | | 0.008 |
| CodePrinterTest | testObjectLit2 | Success | | 0.006 |
| CodePrinterTest | testObjectLit3 | Success | | 0.006 |
| CodePrinterTest | testObjectLit4 | Success | | 0.001 |
| CodePrinterTest | testExtendedObjectLit | Success | | 0.005 |
| CodePrinterTest | testComputedProperties | Success | | 0.011 |
| CodePrinterTest | testComputedPropertiesClassMethods | Success | | 0.004 |
| CodePrinterTest | testGetter | Success | | 0.011 |
| CodePrinterTest | testGetterInEs3 | Success | | 0.000 |
| CodePrinterTest | testSetter | Success | | 0.009 |
| CodePrinterTest | testSetterInEs3 | Success | | 0.000 |
| CodePrinterTest | testNegCollapse | Success | | 0.003 |
| CodePrinterTest | testStrict | Failure | expected:<'use strict';var x[]> but was:<'use strict';var x[;
]>
junit.framework.ComparisonFailure: expected:<'use strict';var x[]> but was:<'use strict';var x[; ]> at com.google.javascript.jscomp.CodePrinterTest.testStrict(CodePrinterTest.java:1576)
| 0.002 |
| CodePrinterTest | testArrayLiteral | Success | | 0.003 |
| CodePrinterTest | testZero | Success | | 0.002 |
| CodePrinterTest | testOctalInString | Success | | 0.004 |
| CodePrinterTest | testOctalInStringNoLeadingZero | Success | | 0.003 |
| CodePrinterTest | testUnicode | Success | | 0.001 |
| CodePrinterTest | testOctalNumericKey | Success | | 0.000 |
| CodePrinterTest | testNumericKeys | Success | | 0.003 |
| CodePrinterTest | testIssue582 | Success | | 0.000 |
| CodePrinterTest | testIssue942 | Success | | 0.001 |
| CodePrinterTest | testIssue601 | Success | | 0.002 |
| CodePrinterTest | testIssue620 | Success | | 0.001 |
| CodePrinterTest | testIssue5746867 | Success | | 0.000 |
| CodePrinterTest | testCommaSpacing | Success | | 0.001 |
| CodePrinterTest | testManyCommas | Success | | 0.082 |
| CodePrinterTest | testManyAdds | Success | | 0.053 |
| CodePrinterTest | testMinusNegativeZero | Success | | 0.001 |
| CodePrinterTest | testStringEscapeSequences | Success | | 0.010 |
| CodePrinterTest | testKeywordProperties1 | Success | | 0.001 |
| CodePrinterTest | testKeywordProperties1a | Success | | 0.000 |
| CodePrinterTest | testKeywordProperties2 | Success | | 0.003 |
| CodePrinterTest | testKeywordProperties2a | Success | | 0.001 |
| CodePrinterTest | testIssue1062 | Success | | 0.000 |
| CodePrinterTest | testPreserveTypeAnnotations | Success | | 0.003 |
| CodePrinterTest | testDefaultParameters | Success | | 0.001 |
| CodePrinterTest | testRestParameters | Success | | 0.002 |
| CodePrinterTest | testDefaultParametersWithRestParameters | Success | | 0.001 |
| CodePrinterTest | testSpreadExpression | Success | | 0.001 |
| CodePrinterTest | testClassPretty | Success | | 0.001 |
| CodePrinterTest | testSuper | Success | | 0.001 |
| CodePrinterTest | testGeneratorYield1 | Success | | 0.003 |
| CodePrinterTest | testMemberGeneratorYield1 | Success | | 0.002 |
| CodePrinterTest | testArrowFunction | Success | | 0.004 |
| CodePrinterTest | testDeclarations | Success | | 0.006 |
| CodePrinterTest | testImports | Success | | 0.003 |
| CodePrinterTest | testExports | Success | | 0.008 |
| CodePrinterTest | testTemplateLiteral | Error | -1
java.lang.ArrayIndexOutOfBoundsException: -1 at com.google.javascript.jscomp.parsing.parser.LineNumberTable.offsetOfLine(LineNumberTable.java:93) at com.google.javascript.jscomp.parsing.parser.LineNumberTable.getColumn(LineNumberTable.java:97) at com.google.javascript.jscomp.parsing.parser.LineNumberTable.getSourcePosition(LineNumberTable.java:80) at com.google.javascript.jscomp.parsing.parser.LineNumberTable.getSourceRange(LineNumberTable.java:101) at com.google.javascript.jscomp.parsing.parser.Scanner.getTokenRange(Scanner.java:80) at com.google.javascript.jscomp.parsing.parser.Scanner.nextTemplateLiteralTokenShared(Scanner.java:793) at com.google.javascript.jscomp.parsing.parser.Scanner.scanTemplateLiteral(Scanner.java:777) at com.google.javascript.jscomp.parsing.parser.Scanner.scanToken(Scanner.java:567) at com.google.javascript.jscomp.parsing.parser.Scanner.peekToken(Scanner.java:228) at com.google.javascript.jscomp.parsing.parser.Parser.peekToken(Parser.java:2879) at com.google.javascript.jscomp.parsing.parser.Parser.peekToken(Parser.java:2872) at com.google.javascript.jscomp.parsing.parser.Parser.getTreeStartLocation(Parser.java:2791) at com.google.javascript.jscomp.parsing.parser.Parser.parseProgram(Parser.java:150) at com.google.javascript.jscomp.parsing.ParserRunner.parse(ParserRunner.java:102) at com.google.javascript.jscomp.JsAst.parse(JsAst.java:84) at com.google.javascript.jscomp.JsAst.getAstRoot(JsAst.java:50) at com.google.javascript.jscomp.CompilerInput.getAstRoot(CompilerInput.java:114) at com.google.javascript.jscomp.Compiler.parseTestCode(Compiler.java:1669) at com.google.javascript.jscomp.CodePrinterTestBase.parse(CodePrinterTestBase.java:57) at com.google.javascript.jscomp.CodePrinterTestBase.parse(CodePrinterTestBase.java:44) at com.google.javascript.jscomp.CodePrinterTestBase.assertPrint(CodePrinterTestBase.java:125) at com.google.javascript.jscomp.CodePrinterTestBase.assertPrintSame(CodePrinterTestBase.java:136) at com.google.javascript.jscomp.CodePrinterTest.testTemplateLiteral(CodePrinterTest.java:1975)
| 0.002 |
| CodePrinterTest | testClass | Success | | 0.003 |
| CollapseAnonymousFunctionsTest | testGlobalScope | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testLocalScope1 | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testInnerFunction1 | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testLocalScope2 | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testVarNotImmediatelyBelowScriptOrBlock1 | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testVarNotImmediatelyBelowScriptOrBlock2 | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testVarNotImmediatelyBelowScriptOrBlock3 | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testMultipleVar | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testMultipleVar2 | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testBothScopes | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testLocalScopeOnly1 | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testLocalScopeOnly2 | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testReturn | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testAlert | Success | | 0.001 |
| CollapseAnonymousFunctionsTest | testRecursiveInternal1 | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testRecursiveInternal2 | Success | | 0.004 |
| CollapseAnonymousFunctionsTest | testRecursiveExternal1 | Success | | 0.002 |
| CollapseAnonymousFunctionsTest | testRecursiveExternal2 | Success | | 0.003 |
| CollapseAnonymousFunctionsTest | testConstantFunction1 | Success | | 0.002 |
| CollapsePropertiesTest | testGlobalCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME Error 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME console 1 [source_file: testcode]
STRING log 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
STRING name 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME Error 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME console 1 [source_file: testcode] STRING log 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME e 1 [source_file: testcode] STRING name 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.CollapsePropertiesTest.testGlobalCatch(CollapsePropertiesTest.java:1699)
| 0.002 |
| CollapsePropertiesTest | testNewOperator | Success | | 0.008 |
| CollapsePropertiesTest | testCollapse | Success | | 0.002 |
| CollapsePropertiesTest | testMultiLevelCollapse | Success | | 0.002 |
| CollapsePropertiesTest | testDecrement | Success | | 0.002 |
| CollapsePropertiesTest | testIncrement | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitDeclaration | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitDeclarationWithGet1 | Success | | 0.003 |
| CollapsePropertiesTest | testObjLitDeclarationWithGet2 | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitDeclarationWithGet3 | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitDeclarationWithSet1 | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitDeclarationWithSet2 | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitDeclarationWithSet3 | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitDeclarationWithGetAndSet1 | Success | | 0.004 |
| CollapsePropertiesTest | testObjLitDeclarationWithDuplicateKeys | Success | | 0.003 |
| CollapsePropertiesTest | testObjLitAssignmentDepth1 | Success | | 0.004 |
| CollapsePropertiesTest | testObjLitAssignmentDepth2 | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitAssignmentDepth3 | Success | | 0.003 |
| CollapsePropertiesTest | testObjLitAssignmentDepth4 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalObjectDeclaredToPreserveItsPreviousValue1 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalObjectDeclaredToPreserveItsPreviousValue2 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalObjectDeclaredToPreserveItsPreviousValue3 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalObjectNameInBooleanExpressionDepth1_1 | Success | | 0.004 |
| CollapsePropertiesTest | testGlobalObjectNameInBooleanExpressionDepth1_2 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalObjectNameInBooleanExpressionDepth1_3 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalObjectNameInBooleanExpressionDepth1_4 | Success | | 0.002 |
| CollapsePropertiesTest | testGlobalObjectNameInBooleanExpressionDepth1_5 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalObjectNameInBooleanExpressionDepth1_6 | Success | | 0.002 |
| CollapsePropertiesTest | testGlobalObjectNameInBooleanExpressionDepth2 | Success | | 0.002 |
| CollapsePropertiesTest | testGlobalObjectNameInBooleanExpressionDepth3 | Success | | 0.002 |
| CollapsePropertiesTest | testGlobalFunctionNameInBooleanExpressionDepth1 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalFunctionNameInBooleanExpressionDepth2 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForObjectDepth1_1 | Success | | 0.005 |
| CollapsePropertiesTest | testAliasCreatedForObjectDepth1_2 | Success | | 0.002 |
| CollapsePropertiesTest | testAliasCreatedForObjectDepth1_3 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForObjectDepth2_1 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForObjectDepth2_2 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForEnumDepth1_1 | Success | | 0.002 |
| CollapsePropertiesTest | testAliasCreatedForEnumDepth1_2 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForEnumDepth1_3 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForEnumDepth1_4 | Success | | 0.005 |
| CollapsePropertiesTest | testAliasCreatedForEnumDepth2_1 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForEnumDepth2_2 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForEnumDepth2_3 | Success | | 0.002 |
| CollapsePropertiesTest | testAliasCreatedForEnumOfObjects | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForEnumOfObjects2 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForPropertyOfEnumOfObjects | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForPropertyOfEnumOfObjects2 | Success | | 0.003 |
| CollapsePropertiesTest | testMisusedEnumTag | Success | | 0.003 |
| CollapsePropertiesTest | testMisusedConstructorTag | Success | | 0.002 |
| CollapsePropertiesTest | testAliasCreatedForFunctionDepth1_1 | Success | | 0.002 |
| CollapsePropertiesTest | testAliasCreatedForCtorDepth1_1 | Success | | 0.005 |
| CollapsePropertiesTest | testAliasCreatedForFunctionDepth1_2 | Success | | 0.002 |
| CollapsePropertiesTest | testAliasCreatedForCtorDepth1_2 | Success | | 0.002 |
| CollapsePropertiesTest | testAliasCreatedForFunctionDepth1_3 | Success | | 0.001 |
| CollapsePropertiesTest | testAliasCreatedForCtorDepth1_3 | Success | | 0.002 |
| CollapsePropertiesTest | testAliasCreatedForFunctionDepth2 | Success | | 0.002 |
| CollapsePropertiesTest | testAliasCreatedForCtorDepth2 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForClassDepth1_1 | Success | | 0.005 |
| CollapsePropertiesTest | testAliasCreatedForClassDepth1_2 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForClassDepth1_3 | Success | | 0.004 |
| CollapsePropertiesTest | testAliasCreatedForClassDepth2_1 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForClassDepth2_2 | Success | | 0.004 |
| CollapsePropertiesTest | testAliasCreatedForClassDepth2_3 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasCreatedForClassProperty | Success | | 0.003 |
| CollapsePropertiesTest | testNestedObjLit | Success | | 0.004 |
| CollapsePropertiesTest | testObjLitDeclarationUsedInSameVarList | Success | | 0.003 |
| CollapsePropertiesTest | testPropGetInsideAnObjLit | Success | | 0.003 |
| CollapsePropertiesTest | testObjLitWithQuotedKeyThatDoesNotGetRead | Success | | 0.003 |
| CollapsePropertiesTest | testObjLitWithQuotedKeyThatGetsRead | Success | | 0.003 |
| CollapsePropertiesTest | testFunctionWithQuotedPropertyThatDoesNotGetRead | Success | | 0.002 |
| CollapsePropertiesTest | testFunctionWithQuotedPropertyThatGetsRead | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitAssignedToMultipleNames1 | Success | | 0.003 |
| CollapsePropertiesTest | testObjLitAssignedToMultipleNames2 | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitRedefinedInGlobalScope | Success | | 0.001 |
| CollapsePropertiesTest | testObjLitRedefinedInLocalScope | Success | | 0.005 |
| CollapsePropertiesTest | testObjLitAssignedInTernaryExpression1 | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitAssignedInTernaryExpression2 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalVarSetToObjLitConditionally1 | Success | | 0.002 |
| CollapsePropertiesTest | testGlobalVarSetToObjLitConditionally1b | Success | | 0.002 |
| CollapsePropertiesTest | testGlobalVarSetToObjLitConditionally2 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalVarSetToObjLitConditionally3 | Success | | 0.004 |
| CollapsePropertiesTest | testObjectPropertySetToObjLitConditionally | Success | | 0.006 |
| CollapsePropertiesTest | testFunctionPropertySetToObjLitConditionally | Success | | 0.003 |
| CollapsePropertiesTest | testPrototypePropertySetToAnObjectLiteral | Success | | 0.004 |
| CollapsePropertiesTest | testObjectPropertyResetInLocalScope | Success | | 0.003 |
| CollapsePropertiesTest | testFunctionPropertyResetInLocalScope | Success | | 0.003 |
| CollapsePropertiesTest | testNamespaceResetInGlobalScope1 | Success | | 0.003 |
| CollapsePropertiesTest | testNamespaceResetInGlobalScope2 | Success | | 0.003 |
| CollapsePropertiesTest | testNamespaceResetInGlobalScope3 | Success | | 0.003 |
| CollapsePropertiesTest | testNamespaceResetInGlobalScope4 | Success | | 0.002 |
| CollapsePropertiesTest | testNamespaceResetInLocalScope1 | Success | | 0.002 |
| CollapsePropertiesTest | testNamespaceResetInLocalScope2 | Success | | 0.002 |
| CollapsePropertiesTest | testNamespaceDefinedInLocalScope | Success | | 0.002 |
| CollapsePropertiesTest | testAddPropertyToObjectInLocalScopeDepth1 | Success | | 0.003 |
| CollapsePropertiesTest | testAddPropertyToObjectInLocalScopeDepth2 | Success | | 0.003 |
| CollapsePropertiesTest | testAddPropertyToFunctionInLocalScopeDepth1 | Success | | 0.003 |
| CollapsePropertiesTest | testAddPropertyToFunctionInLocalScopeDepth2 | Success | | 0.002 |
| CollapsePropertiesTest | testAddPropertyToUncollapsibleObjectInLocalScopeDepth1 | Success | | 0.002 |
| CollapsePropertiesTest | testAddPropertyToUncollapsibleFunctionInLocalScopeDepth1 | Success | | 0.004 |
| CollapsePropertiesTest | testAddPropertyToUncollapsibleNamedCtorInLocalScopeDepth1 | Success | | 0.003 |
| CollapsePropertiesTest | testAddPropertyToUncollapsibleCtorInLocalScopeDepth1 | Success | | 0.003 |
| CollapsePropertiesTest | testAddPropertyToUncollapsibleObjectInLocalScopeDepth2 | Success | | 0.004 |
| CollapsePropertiesTest | testAddPropertyToUncollapsibleFunctionInLocalScopeDepth2 | Success | | 0.003 |
| CollapsePropertiesTest | testAddPropertyToUncollapsibleCtorInLocalScopeDepth2 | Success | | 0.003 |
| CollapsePropertiesTest | testPropertyOfChildFuncOfUncollapsibleObjectDepth1 | Success | | 0.002 |
| CollapsePropertiesTest | testPropertyOfChildFuncOfUncollapsibleObjectDepth2 | Success | | 0.004 |
| CollapsePropertiesTest | testAddPropertyToChildFuncOfUncollapsibleObjectInLocalScope | Success | | 0.003 |
| CollapsePropertiesTest | testAddPropertyToChildTypeOfUncollapsibleObjectInLocalScope | Success | | 0.004 |
| CollapsePropertiesTest | testAddPropertyToChildOfUncollapsibleFunctionInLocalScope | Success | | 0.003 |
| CollapsePropertiesTest | testAddPropertyToChildOfUncollapsibleCtorInLocalScope | Success | | 0.005 |
| CollapsePropertiesTest | testResetObjectPropertyInLocalScope | Success | | 0.003 |
| CollapsePropertiesTest | testResetFunctionPropertyInLocalScope | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalNameReferencedInLocalScopeBeforeDefined1 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalNameReferencedInLocalScopeBeforeDefined2 | Success | | 0.002 |
| CollapsePropertiesTest | testTwiceDefinedGlobalNameDepth1_1 | Success | | 0.002 |
| CollapsePropertiesTest | testTwiceDefinedGlobalNameDepth1_2 | Success | | 0.002 |
| CollapsePropertiesTest | testTwiceDefinedGlobalNameDepth2 | Success | | 0.002 |
| CollapsePropertiesTest | testFunctionCallDepth1 | Success | | 0.002 |
| CollapsePropertiesTest | testFunctionCallDepth2 | Success | | 0.003 |
| CollapsePropertiesTest | testFunctionAlias1 | Success | | 0.003 |
| CollapsePropertiesTest | testFunctionAlias2 | Success | | 0.003 |
| CollapsePropertiesTest | testCallToRedefinedFunction | Success | | 0.002 |
| CollapsePropertiesTest | testCollapsePrototypeName | Success | | 0.003 |
| CollapsePropertiesTest | testReferencedPrototypeProperty | Success | | 0.003 |
| CollapsePropertiesTest | testSetStaticAndPrototypePropertiesOnFunction | Success | | 0.003 |
| CollapsePropertiesTest | testReadUndefinedPropertyDepth1 | Success | | 0.003 |
| CollapsePropertiesTest | testReadUndefinedPropertyDepth2 | Success | | 0.002 |
| CollapsePropertiesTest | testCallUndefinedMethodOnObjLitDepth1 | Success | | 0.002 |
| CollapsePropertiesTest | testCallUndefinedMethodOnObjLitDepth2 | Success | | 0.003 |
| CollapsePropertiesTest | testPropertiesOfAnUndefinedVar | Success | | 0.003 |
| CollapsePropertiesTest | testPropertyOfAnObjectThatIsNeitherFunctionNorObjLit | Success | | 0.003 |
| CollapsePropertiesTest | testStaticFunctionReferencingThis1 | Success | | 0.003 |
| CollapsePropertiesTest | testStaticFunctionReferencingThis2 | Success | | 0.003 |
| CollapsePropertiesTest | testStaticFunctionReferencingThis3 | Success | | 0.003 |
| CollapsePropertiesTest | testStaticFunctionReferencingThis4 | Success | | 0.003 |
| CollapsePropertiesTest | testPrototypeMethodReferencingThis | Success | | 0.002 |
| CollapsePropertiesTest | testConstructorReferencingThis | Success | | 0.001 |
| CollapsePropertiesTest | testSafeReferenceOfThis | Success | | 0.001 |
| CollapsePropertiesTest | testGlobalFunctionReferenceOfThis | Success | | 0.001 |
| CollapsePropertiesTest | testFunctionGivenTwoNames | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitWithUsedNumericKey | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitWithUnusedNumericKey | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitWithNonIdentifierKeys | Success | | 0.002 |
| CollapsePropertiesTest | testChainedAssignments1 | Success | | 0.002 |
| CollapsePropertiesTest | testChainedAssignments2 | Success | | 0.002 |
| CollapsePropertiesTest | testChainedAssignments3 | Success | | 0.002 |
| CollapsePropertiesTest | testChainedAssignments4 | Success | | 0.001 |
| CollapsePropertiesTest | testChainedAssignments5 | Success | | 0.002 |
| CollapsePropertiesTest | testChainedAssignments6 | Success | | 0.002 |
| CollapsePropertiesTest | testChainedAssignments7 | Success | | 0.002 |
| CollapsePropertiesTest | testChainedVarAssignments1 | Success | | 0.002 |
| CollapsePropertiesTest | testChainedVarAssignments2 | Success | | 0.002 |
| CollapsePropertiesTest | testChainedVarAssignments3 | Success | | 0.002 |
| CollapsePropertiesTest | testChainedVarAssignments4 | Success | | 0.003 |
| CollapsePropertiesTest | testChainedVarAssignments5 | Success | | 0.003 |
| CollapsePropertiesTest | testPeerAndSubpropertyOfUncollapsibleProperty | Success | | 0.005 |
| CollapsePropertiesTest | testComplexAssignmentAfterInitialAssignment | Success | | 0.003 |
| CollapsePropertiesTest | testRenamePrefixOfUncollapsibleProperty | Success | | 0.003 |
| CollapsePropertiesTest | testMethodCall | Success | | 0.002 |
| CollapsePropertiesTest | testObjLitDefinedInLocalScopeIsLeftAlone | Success | | 0.002 |
| CollapsePropertiesTest | testPropertiesOnBothSidesOfAssignment | Success | | 0.003 |
| CollapsePropertiesTest | testCallOnUndefinedProperty | Success | | 0.003 |
| CollapsePropertiesTest | testGetPropOnUndefinedProperty | Success | | 0.003 |
| CollapsePropertiesTest | testLocalAlias1 | Success | | 0.003 |
| CollapsePropertiesTest | testLocalAlias2 | Success | | 0.003 |
| CollapsePropertiesTest | testLocalAlias3 | Success | | 0.003 |
| CollapsePropertiesTest | testLocalAlias4 | Success | | 0.003 |
| CollapsePropertiesTest | testLocalAlias5 | Success | | 0.005 |
| CollapsePropertiesTest | testLocalAlias6 | Success | | 0.003 |
| CollapsePropertiesTest | testLocalAlias7 | Success | | 0.004 |
| CollapsePropertiesTest | testGlobalWriteToAncestor | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalWriteToNonAncestor | Success | | 0.003 |
| CollapsePropertiesTest | testLocalWriteToAncestor | Success | | 0.002 |
| CollapsePropertiesTest | testLocalWriteToNonAncestor | Success | | 0.003 |
| CollapsePropertiesTest | testNonWellformedAlias1 | Success | | 0.003 |
| CollapsePropertiesTest | testNonWellformedAlias2 | Success | | 0.003 |
| CollapsePropertiesTest | testLocalAliasOfAncestor | Success | | 0.004 |
| CollapsePropertiesTest | testGlobalAliasOfAncestor | Success | | 0.003 |
| CollapsePropertiesTest | testLocalAliasOfOtherName | Success | | 0.003 |
| CollapsePropertiesTest | testLocalAliasOfFunction | Success | | 0.004 |
| CollapsePropertiesTest | testNoInlineGetpropIntoCall | Success | | 0.005 |
| CollapsePropertiesTest | testInlineAliasWithModifications | Success | | 0.010 |
| CollapsePropertiesTest | testDoNotCollapsePropertyOnExternType | Success | | 0.002 |
| CollapsePropertiesTest | testBug1704733 | Success | | 0.003 |
| CollapsePropertiesTest | testBug1956277 | Success | | 0.003 |
| CollapsePropertiesTest | testBug1974371 | Success | | 0.003 |
| CollapsePropertiesTest | testEnumOfObjects1 | Success | | 0.003 |
| CollapsePropertiesTest | testEnumOfObjects2 | Success | | 0.003 |
| CollapsePropertiesTest | testEnumOfObjects3 | Success | | 0.004 |
| CollapsePropertiesTest | testEnumOfObjects4 | Success | | 0.002 |
| CollapsePropertiesTest | testObjectOfObjects1 | Success | | 0.002 |
| CollapsePropertiesTest | testReferenceInAnonymousObject0 | Success | | 0.002 |
| CollapsePropertiesTest | testReferenceInAnonymousObject1 | Success | | 0.002 |
| CollapsePropertiesTest | testReferenceInAnonymousObject2 | Success | | 0.003 |
| CollapsePropertiesTest | testReferenceInAnonymousObject3 | Success | | 0.002 |
| CollapsePropertiesTest | testReferenceInAnonymousObject4 | Success | | 0.003 |
| CollapsePropertiesTest | testReferenceInAnonymousObject5 | Success | | 0.003 |
| CollapsePropertiesTest | testCrashInCommaOperator | Success | | 0.002 |
| CollapsePropertiesTest | testCrashInNestedAssign | Success | | 0.003 |
| CollapsePropertiesTest | testTwinReferenceCancelsChildCollapsing | Success | | 0.002 |
| CollapsePropertiesTest | testPropWithDollarSign | Success | | 0.002 |
| CollapsePropertiesTest | testPropWithDollarSign2 | Success | | 0.002 |
| CollapsePropertiesTest | testPropWithDollarSign3 | Success | | 0.002 |
| CollapsePropertiesTest | testPropWithDollarSign4 | Success | | 0.003 |
| CollapsePropertiesTest | testPropWithDollarSign5 | Success | | 0.002 |
| CollapsePropertiesTest | testConstKey | Success | | 0.002 |
| CollapsePropertiesTest | testPropertyOnGlobalCtor | Success | | 0.003 |
| CollapsePropertiesTest | testPropertyOnGlobalInterface | Success | | 0.003 |
| CollapsePropertiesTest | testPropertyOnGlobalFunction | Success | | 0.040 |
| CollapsePropertiesTest | testIssue389 | Success | | 0.003 |
| CollapsePropertiesTest | testAliasedTopLevelName | Success | | 0.003 |
| CollapsePropertiesTest | testAliasedTopLevelEnum | Success | | 0.002 |
| CollapsePropertiesTest | testAssignFunctionBeforeDefinition | Success | | 0.001 |
| CollapsePropertiesTest | testObjectLitBeforeDefinition | Success | | 0.002 |
| CollapsePropertiesTest | testTypedef1 | Success | | 0.002 |
| CollapsePropertiesTest | testTypedef2 | Success | | 0.002 |
| CollapsePropertiesTest | testDelete1 | Success | | 0.003 |
| CollapsePropertiesTest | testDelete2 | Success | | 0.003 |
| CollapsePropertiesTest | testDelete3 | Success | | 0.002 |
| CollapsePropertiesTest | testDelete4 | Success | | 0.002 |
| CollapsePropertiesTest | testDelete5 | Success | | 0.003 |
| CollapsePropertiesTest | testDelete6 | Success | | 0.003 |
| CollapsePropertiesTest | testDelete7 | Success | | 0.002 |
| CollapsePropertiesTest | testDelete8 | Success | | 0.002 |
| CollapsePropertiesTest | testDelete9 | Success | | 0.002 |
| CollapsePropertiesTest | testDelete10 | Success | | 0.001 |
| CollapsePropertiesTest | testDelete11 | Success | | 0.001 |
| CollapsePropertiesTest | testPreserveConstructorDoc | Success | | 0.003 |
| CollapsePropertiesTest | testTypeDefAlias1 | Success | | 0.002 |
| CollapsePropertiesTest | testTypeDefAlias2 | Success | | 0.002 |
| CollapsePropertiesTest | testGlobalAliasWithProperties1 | Success | | 0.002 |
| CollapsePropertiesTest | testGlobalAliasWithProperties2 | Success | | 0.004 |
| CollapsePropertiesTest | testGlobalAliasWithProperties3 | Success | | 0.003 |
| CollapsePropertiesTest | testGlobalAliasWithProperties4 | Success | | 0.002 |
| CollapsePropertiesTest | testGlobalAliasWithProperties5 | Success | | 0.002 |
| CollapsePropertiesTest | testLocalAliasOfEnumWithInstanceofCheck | Success | | 0.004 |
| CollapsePropertiesTest | testCollapsePropertiesOfClass1 | Success | | 0.005 |
| CollapsePropertiesTest | testCollapsePropertiesOfClass2 | Success | | 0.004 |
| CollapsePropertiesTest | test_b19179602 | Success | | 0.004 |
| CollapsePropertiesTest | test_b19179602_declareOutsideLoop | Success | | 0.003 |
| CollapsePropertiesTest | testCtorManyAssignmentsDontInlineDontWarn | Success | | 0.004 |
| CollapsePropertiesTest | testCtorManyAssignmentsDontInlineWarn | Success | | 0.003 |
| CollapsePropertiesTest | testExpressionResultReferenceWontPreventCollapse | Success | | 0.003 |
| CollapseVariableDeclarationsTest | testIssue820 | Success | | 0.004 |
| CollapseVariableDeclarationsTest | testCollapsing | Success | | 0.006 |
| CollapseVariableDeclarationsTest | testIfElseVarDeclarations | Success | | 0.001 |
| CollapseVariableDeclarationsTest | testAggressiveRedeclaration | Success | | 0.004 |
| CollapseVariableDeclarationsTest | testAggressiveRedeclarationInFor | Success | | 0.003 |
| CollapseVariableDeclarationsTest | testIssue397 | Success | | 0.004 |
| CombinedCompilerPassTest | testIndividualPasses | Success | | 0.001 |
| CombinedCompilerPassTest | testCombinedPasses | Success | | 0.000 |
| CombinedCompilerPassTest | testScopes | Success | | 0.001 |
| CommandLineRunnerTest | testIssue601 | Success | | 0.079 |
| CommandLineRunnerTest | testUnknownAnnotation | Error | Not true that <-2> is equal to <0>
java.lang.AssertionError: Not true that <-2> is equal to <0> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:230) at com.google.common.truth.Subject.isEqualTo(Subject.java:98) at com.google.common.truth.IntegerSubject.isEqualTo(IntegerSubject.java:66) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1465) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testUnknownAnnotation(CommandLineRunnerTest.java:137)
| 0.026 |
| CommandLineRunnerTest | testWarningGuardOrdering1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testWarningGuardOrdering1(CommandLineRunnerTest.java:147)
| 0.079 |
| CommandLineRunnerTest | testWarningGuardOrdering2 | Failure | Expected exactly one warning or error
Errors:
Warnings:
expected:<1> but was:<0>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: expected:<1> but was:<0> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testWarningGuardOrdering2(CommandLineRunnerTest.java:153)
| 0.019 |
| CommandLineRunnerTest | testWarningGuardOrdering3 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testWarningGuardOrdering3(CommandLineRunnerTest.java:159)
| 0.021 |
| CommandLineRunnerTest | testWarningGuardOrdering4 | Failure | Expected exactly one warning or error
Errors:
Warnings:
expected:<1> but was:<0>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: expected:<1> but was:<0> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testWarningGuardOrdering4(CommandLineRunnerTest.java:165)
| 0.014 |
| CommandLineRunnerTest | testSimpleModeLeavesUnusedParams | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testSimpleModeLeavesUnusedParams(CommandLineRunnerTest.java:170)
| 0.017 |
| CommandLineRunnerTest | testAdvancedModeRemovesUnusedParams | Failure |
Expected: window.a=function(){}
Result: window.f=function(a){}
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING a 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
NAME a 1 [source_file: input0]
BLOCK 1 [source_file: input0]
Subtree1: STRING a 1 [source_file: input0]
Subtree2: STRING f 1 [source_file: input0]
junit.framework.AssertionFailedError: Expected: window.a=function(){} Result: window.f=function(a){} Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING a 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] NAME a 1 [source_file: input0] BLOCK 1 [source_file: input0]
Subtree1: STRING a 1 [source_file: input0]
Subtree2: STRING f 1 [source_file: input0]
at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1428) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testAdvancedModeRemovesUnusedParams(CommandLineRunnerTest.java:175)
| 0.072 |
| CommandLineRunnerTest | testCheckGlobalThisOffByDefault | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testCheckGlobalThisOffByDefault(CommandLineRunnerTest.java:179)
| 0.030 |
| CommandLineRunnerTest | testCheckGlobalThisOnWithAdvancedMode | Failure | Expected exactly one warning or error
Errors:
Warnings:
expected:<1> but was:<0>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: expected:<1> but was:<0> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testCheckGlobalThisOnWithAdvancedMode(CommandLineRunnerTest.java:184)
| 0.022 |
| CommandLineRunnerTest | testCheckGlobalThisOnWithAdvanced | Failure | Expected exactly one warning or error
Errors:
Warnings:
expected:<1> but was:<0>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: expected:<1> but was:<0> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testCheckGlobalThisOnWithAdvanced(CommandLineRunnerTest.java:189)
| 0.015 |
| CommandLineRunnerTest | testCheckGlobalThisOnWithErrorFlag | Failure | Expected exactly one warning or error
Errors:
Warnings:
expected:<1> but was:<0>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: expected:<1> but was:<0> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testCheckGlobalThisOnWithErrorFlag(CommandLineRunnerTest.java:194)
| 0.050 |
| CommandLineRunnerTest | testCheckGlobalThisOff | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testCheckGlobalThisOff(CommandLineRunnerTest.java:200)
| 0.066 |
| CommandLineRunnerTest | testTypeCheckingOffByDefault | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testTypeCheckingOffByDefault(CommandLineRunnerTest.java:204)
| 0.030 |
| CommandLineRunnerTest | testReflectedMethods | Failure |
Expected: function a(){}a.prototype.a=function(e,d){alert(d)};var b=goog.c.b(a,{a:1}),c;for(c in b)b[c].call(b);window.Foo=a
Result: function Foo(){}Foo.prototype.handle=function(x,y){alert(y)};var x=goog.reflect.object(Foo,{handle:1});for(var i in x)x[i].call(x);window["Foo"]=Foo
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION a 1 [source_file: input0]
NAME a 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME a 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING a 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
NAME e 1 [source_file: input0]
NAME d 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
NAME d 1 [source_file: input0]
VAR 1 [source_file: input0]
NAME b 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME goog 1 [source_file: input0]
STRING c 1 [source_file: input0]
STRING b 1 [source_file: input0]
NAME a 1 [source_file: input0]
OBJECTLIT 1 [source_file: input0]
STRING_KEY a 1 [source_file: input0]
NUMBER 1.0 1 [source_file: input0]
NAME c 1 [source_file: input0]
FOR 1 [source_file: input0]
NAME c 1 [source_file: input0]
NAME b 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME b 1 [source_file: input0]
NAME c 1 [source_file: input0]
STRING call 1 [source_file: input0]
NAME b 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING Foo 1 [source_file: input0]
NAME a 1 [source_file: input0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION Foo 1 [jsdoc_info: JSDocInfo] [source_file: input0]
NAME Foo 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING handle 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
NAME x 1 [source_file: input0]
NAME y 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
NAME y 1 [source_file: input0]
VAR 1 [source_file: input0]
NAME x 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME goog 1 [source_file: input0]
STRING reflect 1 [source_file: input0]
STRING object 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
OBJECTLIT 1 [source_file: input0]
STRING_KEY handle 1 [source_file: input0]
NUMBER 1.0 1 [source_file: input0]
FOR 1 [source_file: input0]
VAR 1 [source_file: input0]
NAME i 1 [source_file: input0]
NAME x 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME x 1 [source_file: input0]
NAME i 1 [source_file: input0]
STRING call 1 [source_file: input0]
NAME x 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING Foo 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
Subtree1: NAME a 1 [source_file: input0]
Subtree2: NAME Foo 1 [source_file: input0]
junit.framework.AssertionFailedError: Expected: function a(){}a.prototype.a=function(e,d){alert(d)};var b=goog.c.b(a,{a:1}),c;for(c in b)b[c].call(b);window.Foo=a Result: function Foo(){}Foo.prototype.handle=function(x,y){alert(y)};var x=goog.reflect.object(Foo,{handle:1});for(var i in x)x[i].call(x);window["Foo"]=Foo Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION a 1 [source_file: input0] NAME a 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME a 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING a 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] NAME e 1 [source_file: input0] NAME d 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] NAME d 1 [source_file: input0] VAR 1 [source_file: input0] NAME b 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME goog 1 [source_file: input0] STRING c 1 [source_file: input0] STRING b 1 [source_file: input0] NAME a 1 [source_file: input0] OBJECTLIT 1 [source_file: input0] STRING_KEY a 1 [source_file: input0] NUMBER 1.0 1 [source_file: input0] NAME c 1 [source_file: input0] FOR 1 [source_file: input0] NAME c 1 [source_file: input0] NAME b 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME b 1 [source_file: input0] NAME c 1 [source_file: input0] STRING call 1 [source_file: input0] NAME b 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING Foo 1 [source_file: input0] NAME a 1 [source_file: input0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION Foo 1 [jsdoc_info: JSDocInfo] [source_file: input0] NAME Foo 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Foo 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING handle 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] NAME x 1 [source_file: input0] NAME y 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] NAME y 1 [source_file: input0] VAR 1 [source_file: input0] NAME x 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME goog 1 [source_file: input0] STRING reflect 1 [source_file: input0] STRING object 1 [source_file: input0] NAME Foo 1 [source_file: input0] OBJECTLIT 1 [source_file: input0] STRING_KEY handle 1 [source_file: input0] NUMBER 1.0 1 [source_file: input0] FOR 1 [source_file: input0] VAR 1 [source_file: input0] NAME i 1 [source_file: input0] NAME x 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME x 1 [source_file: input0] NAME i 1 [source_file: input0] STRING call 1 [source_file: input0] NAME x 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME window 1 [source_file: input0] STRING Foo 1 [source_file: input0] NAME Foo 1 [source_file: input0]
Subtree1: NAME a 1 [source_file: input0]
Subtree2: NAME Foo 1 [source_file: input0]
at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1428) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testReflectedMethods(CommandLineRunnerTest.java:210)
| 0.047 |
| CommandLineRunnerTest | testInlineVariables | Failure |
Expected: function a(){this.a=0}a.prototype.b=function(){this.a++;return 10};a.prototype.c=function(){var b=this.b();this.a+=b+3};window.f=new a;window.f.inc=window.f.b;window.f.bar=window.f.c;use(window.f.a)
Result: function F(){this.a=0}F.prototype.inc=function(){this.a++;return 10};F.prototype.bar=function(){var c=3;var val=this.inc();this.a+=val+c};window["f"]=new F;window["f"]["inc"]=window["f"].inc;window["f"]["bar"]=window["f"].bar;use(window["f"].a)
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION a 1 [source_file: input0]
NAME a 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
THIS 1 [source_file: input0]
STRING a 1 [source_file: input0]
NUMBER 0.0 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME a 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING b 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
INC 1 [incrdecr: 1] [source_file: input0]
GETPROP 1 [source_file: input0]
THIS 1 [source_file: input0]
STRING a 1 [source_file: input0]
RETURN 1 [source_file: input0]
NUMBER 10.0 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME a 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING c 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
VAR 1 [source_file: input0]
NAME b 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
THIS 1 [source_file: input0]
STRING b 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN_ADD 1 [source_file: input0]
GETPROP 1 [source_file: input0]
THIS 1 [source_file: input0]
STRING a 1 [source_file: input0]
ADD 1 [source_file: input0]
NAME b 1 [source_file: input0]
NUMBER 3.0 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
NEW 1 [source_file: input0]
NAME a 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
STRING inc 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
STRING b 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
STRING bar 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
STRING c 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME use 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
STRING a 1 [source_file: input0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION F 1 [jsdoc_info: JSDocInfo] [source_file: input0]
NAME F 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
THIS 1 [source_file: input0]
STRING a 1 [source_file: input0]
NUMBER 0.0 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME F 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING inc 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
INC 1 [incrdecr: 1] [source_file: input0]
GETPROP 1 [source_file: input0]
THIS 1 [source_file: input0]
STRING a 1 [source_file: input0]
RETURN 1 [source_file: input0]
NUMBER 10.0 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME F 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING bar 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
VAR 1 [source_file: input0]
NAME c 1 [source_file: input0]
NUMBER 3.0 1 [source_file: input0]
VAR 1 [source_file: input0]
NAME val 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
THIS 1 [source_file: input0]
STRING inc 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN_ADD 1 [source_file: input0]
GETPROP 1 [source_file: input0]
THIS 1 [source_file: input0]
STRING a 1 [source_file: input0]
ADD 1 [source_file: input0]
NAME val 1 [source_file: input0]
NAME c 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
NEW 1 [source_file: input0]
NAME F 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETELEM 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
STRING inc 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
STRING inc 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETELEM 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
STRING bar 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
STRING bar 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME use 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
STRING a 1 [source_file: input0]
Subtree1: NAME a 1 [source_file: input0]
Subtree2: NAME F 1 [source_file: input0]
junit.framework.AssertionFailedError: Expected: function a(){this.a=0}a.prototype.b=function(){this.a++;return 10};a.prototype.c=function(){var b=this.b();this.a+=b+3};window.f=new a;window.f.inc=window.f.b;window.f.bar=window.f.c;use(window.f.a) Result: function F(){this.a=0}F.prototype.inc=function(){this.a++;return 10};F.prototype.bar=function(){var c=3;var val=this.inc();this.a+=val+c};window["f"]=new F;window["f"]["inc"]=window["f"].inc;window["f"]["bar"]=window["f"].bar;use(window["f"].a) Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION a 1 [source_file: input0] NAME a 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] THIS 1 [source_file: input0] STRING a 1 [source_file: input0] NUMBER 0.0 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME a 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING b 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] INC 1 [incrdecr: 1] [source_file: input0] GETPROP 1 [source_file: input0] THIS 1 [source_file: input0] STRING a 1 [source_file: input0] RETURN 1 [source_file: input0] NUMBER 10.0 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME a 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING c 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] VAR 1 [source_file: input0] NAME b 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] THIS 1 [source_file: input0] STRING b 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN_ADD 1 [source_file: input0] GETPROP 1 [source_file: input0] THIS 1 [source_file: input0] STRING a 1 [source_file: input0] ADD 1 [source_file: input0] NAME b 1 [source_file: input0] NUMBER 3.0 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] NEW 1 [source_file: input0] NAME a 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] STRING inc 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] STRING b 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] STRING bar 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] STRING c 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME use 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] STRING a 1 [source_file: input0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION F 1 [jsdoc_info: JSDocInfo] [source_file: input0] NAME F 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] THIS 1 [source_file: input0] STRING a 1 [source_file: input0] NUMBER 0.0 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME F 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING inc 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] INC 1 [incrdecr: 1] [source_file: input0] GETPROP 1 [source_file: input0] THIS 1 [source_file: input0] STRING a 1 [source_file: input0] RETURN 1 [source_file: input0] NUMBER 10.0 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME F 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING bar 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] VAR 1 [source_file: input0] NAME c 1 [source_file: input0] NUMBER 3.0 1 [source_file: input0] VAR 1 [source_file: input0] NAME val 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] THIS 1 [source_file: input0] STRING inc 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN_ADD 1 [source_file: input0] GETPROP 1 [source_file: input0] THIS 1 [source_file: input0] STRING a 1 [source_file: input0] ADD 1 [source_file: input0] NAME val 1 [source_file: input0] NAME c 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] NEW 1 [source_file: input0] NAME F 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETELEM 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] STRING inc 1 [source_file: input0] GETPROP 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] STRING inc 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETELEM 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] STRING bar 1 [source_file: input0] GETPROP 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] STRING bar 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME use 1 [source_file: input0] GETPROP 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] STRING a 1 [source_file: input0]
Subtree1: NAME a 1 [source_file: input0]
Subtree2: NAME F 1 [source_file: input0]
at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1428) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testInlineVariables(CommandLineRunnerTest.java:229)
| 0.037 |
| CommandLineRunnerTest | testTypedAdvanced | Failure |
Expected: alert(2)
Result: function Foo(){}Foo.prototype.handle1=function(x,y){alert(y)};function Bar(){}Bar.prototype.handle1=function(x,y){};(new Foo).handle1(1,2);(new Bar).handle1(1,2)
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
NUMBER 2.0 1 [source_file: input0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 2 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION Foo 2 [jsdoc_info: JSDocInfo] [source_file: input0]
NAME Foo 2 [source_file: input0]
PARAM_LIST 2 [source_file: input0]
BLOCK 2 [source_file: input0]
EXPR_RESULT 3 [source_file: input0]
ASSIGN 3 [source_file: input0]
GETPROP 3 [source_file: input0]
GETPROP 3 [source_file: input0]
NAME Foo 3 [source_file: input0]
STRING prototype 3 [source_file: input0]
STRING handle1 3 [source_file: input0]
FUNCTION 3 [source_file: input0]
NAME 3 [source_file: input0]
PARAM_LIST 3 [source_file: input0]
NAME x 3 [source_file: input0]
NAME y 3 [source_file: input0]
BLOCK 3 [source_file: input0]
EXPR_RESULT 3 [source_file: input0]
CALL 3 [free_call: 1] [source_file: input0]
NAME alert 3 [source_file: input0]
NAME y 3 [source_file: input0]
FUNCTION Bar 5 [jsdoc_info: JSDocInfo] [source_file: input0]
NAME Bar 5 [source_file: input0]
PARAM_LIST 5 [source_file: input0]
BLOCK 5 [source_file: input0]
EXPR_RESULT 6 [source_file: input0]
ASSIGN 6 [source_file: input0]
GETPROP 6 [source_file: input0]
GETPROP 6 [source_file: input0]
NAME Bar 6 [source_file: input0]
STRING prototype 6 [source_file: input0]
STRING handle1 6 [source_file: input0]
FUNCTION 6 [source_file: input0]
NAME 6 [source_file: input0]
PARAM_LIST 6 [source_file: input0]
NAME x 6 [source_file: input0]
NAME y 6 [source_file: input0]
BLOCK 6 [source_file: input0]
EXPR_RESULT 7 [source_file: input0]
CALL 7 [source_file: input0]
GETPROP 7 [source_file: input0]
NEW 7 [source_file: input0]
NAME Foo 7 [source_file: input0]
STRING handle1 7 [source_file: input0]
NUMBER 1.0 7 [source_file: input0]
NUMBER 2.0 7 [source_file: input0]
EXPR_RESULT 8 [source_file: input0]
CALL 8 [source_file: input0]
GETPROP 8 [source_file: input0]
NEW 8 [source_file: input0]
NAME Bar 8 [source_file: input0]
STRING handle1 8 [source_file: input0]
NUMBER 1.0 8 [source_file: input0]
NUMBER 2.0 8 [source_file: input0]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
NUMBER 2.0 1 [source_file: input0]
Subtree2: SCRIPT 2 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION Foo 2 [jsdoc_info: JSDocInfo] [source_file: input0]
NAME Foo 2 [source_file: input0]
PARAM_LIST 2 [source_file: input0]
BLOCK 2 [source_file: input0]
EXPR_RESULT 3 [source_file: input0]
ASSIGN 3 [source_file: input0]
GETPROP 3 [source_file: input0]
GETPROP 3 [source_file: input0]
NAME Foo 3 [source_file: input0]
STRING prototype 3 [source_file: input0]
STRING handle1 3 [source_file: input0]
FUNCTION 3 [source_file: input0]
NAME 3 [source_file: input0]
PARAM_LIST 3 [source_file: input0]
NAME x 3 [source_file: input0]
NAME y 3 [source_file: input0]
BLOCK 3 [source_file: input0]
EXPR_RESULT 3 [source_file: input0]
CALL 3 [free_call: 1] [source_file: input0]
NAME alert 3 [source_file: input0]
NAME y 3 [source_file: input0]
FUNCTION Bar 5 [jsdoc_info: JSDocInfo] [source_file: input0]
NAME Bar 5 [source_file: input0]
PARAM_LIST 5 [source_file: input0]
BLOCK 5 [source_file: input0]
EXPR_RESULT 6 [source_file: input0]
ASSIGN 6 [source_file: input0]
GETPROP 6 [source_file: input0]
GETPROP 6 [source_file: input0]
NAME Bar 6 [source_file: input0]
STRING prototype 6 [source_file: input0]
STRING handle1 6 [source_file: input0]
FUNCTION 6 [source_file: input0]
NAME 6 [source_file: input0]
PARAM_LIST 6 [source_file: input0]
NAME x 6 [source_file: input0]
NAME y 6 [source_file: input0]
BLOCK 6 [source_file: input0]
EXPR_RESULT 7 [source_file: input0]
CALL 7 [source_file: input0]
GETPROP 7 [source_file: input0]
NEW 7 [source_file: input0]
NAME Foo 7 [source_file: input0]
STRING handle1 7 [source_file: input0]
NUMBER 1.0 7 [source_file: input0]
NUMBER 2.0 7 [source_file: input0]
EXPR_RESULT 8 [source_file: input0]
CALL 8 [source_file: input0]
GETPROP 8 [source_file: input0]
NEW 8 [source_file: input0]
NAME Bar 8 [source_file: input0]
STRING handle1 8 [source_file: input0]
NUMBER 1.0 8 [source_file: input0]
NUMBER 2.0 8 [source_file: input0]
junit.framework.AssertionFailedError: Expected: alert(2) Result: function Foo(){}Foo.prototype.handle1=function(x,y){alert(y)};function Bar(){}Bar.prototype.handle1=function(x,y){};(new Foo).handle1(1,2);(new Bar).handle1(1,2) Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] NUMBER 2.0 1 [source_file: input0]
Tree2: BLOCK [synthetic: 1] SCRIPT 2 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION Foo 2 [jsdoc_info: JSDocInfo] [source_file: input0] NAME Foo 2 [source_file: input0] PARAM_LIST 2 [source_file: input0] BLOCK 2 [source_file: input0] EXPR_RESULT 3 [source_file: input0] ASSIGN 3 [source_file: input0] GETPROP 3 [source_file: input0] GETPROP 3 [source_file: input0] NAME Foo 3 [source_file: input0] STRING prototype 3 [source_file: input0] STRING handle1 3 [source_file: input0] FUNCTION 3 [source_file: input0] NAME 3 [source_file: input0] PARAM_LIST 3 [source_file: input0] NAME x 3 [source_file: input0] NAME y 3 [source_file: input0] BLOCK 3 [source_file: input0] EXPR_RESULT 3 [source_file: input0] CALL 3 [free_call: 1] [source_file: input0] NAME alert 3 [source_file: input0] NAME y 3 [source_file: input0] FUNCTION Bar 5 [jsdoc_info: JSDocInfo] [source_file: input0] NAME Bar 5 [source_file: input0] PARAM_LIST 5 [source_file: input0] BLOCK 5 [source_file: input0] EXPR_RESULT 6 [source_file: input0] ASSIGN 6 [source_file: input0] GETPROP 6 [source_file: input0] GETPROP 6 [source_file: input0] NAME Bar 6 [source_file: input0] STRING prototype 6 [source_file: input0] STRING handle1 6 [source_file: input0] FUNCTION 6 [source_file: input0] NAME 6 [source_file: input0] PARAM_LIST 6 [source_file: input0] NAME x 6 [source_file: input0] NAME y 6 [source_file: input0] BLOCK 6 [source_file: input0] EXPR_RESULT 7 [source_file: input0] CALL 7 [source_file: input0] GETPROP 7 [source_file: input0] NEW 7 [source_file: input0] NAME Foo 7 [source_file: input0] STRING handle1 7 [source_file: input0] NUMBER 1.0 7 [source_file: input0] NUMBER 2.0 7 [source_file: input0] EXPR_RESULT 8 [source_file: input0] CALL 8 [source_file: input0] GETPROP 8 [source_file: input0] NEW 8 [source_file: input0] NAME Bar 8 [source_file: input0] STRING handle1 8 [source_file: input0] NUMBER 1.0 8 [source_file: input0] NUMBER 2.0 8 [source_file: input0]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] NUMBER 2.0 1 [source_file: input0]
Subtree2: SCRIPT 2 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION Foo 2 [jsdoc_info: JSDocInfo] [source_file: input0] NAME Foo 2 [source_file: input0] PARAM_LIST 2 [source_file: input0] BLOCK 2 [source_file: input0] EXPR_RESULT 3 [source_file: input0] ASSIGN 3 [source_file: input0] GETPROP 3 [source_file: input0] GETPROP 3 [source_file: input0] NAME Foo 3 [source_file: input0] STRING prototype 3 [source_file: input0] STRING handle1 3 [source_file: input0] FUNCTION 3 [source_file: input0] NAME 3 [source_file: input0] PARAM_LIST 3 [source_file: input0] NAME x 3 [source_file: input0] NAME y 3 [source_file: input0] BLOCK 3 [source_file: input0] EXPR_RESULT 3 [source_file: input0] CALL 3 [free_call: 1] [source_file: input0] NAME alert 3 [source_file: input0] NAME y 3 [source_file: input0] FUNCTION Bar 5 [jsdoc_info: JSDocInfo] [source_file: input0] NAME Bar 5 [source_file: input0] PARAM_LIST 5 [source_file: input0] BLOCK 5 [source_file: input0] EXPR_RESULT 6 [source_file: input0] ASSIGN 6 [source_file: input0] GETPROP 6 [source_file: input0] GETPROP 6 [source_file: input0] NAME Bar 6 [source_file: input0] STRING prototype 6 [source_file: input0] STRING handle1 6 [source_file: input0] FUNCTION 6 [source_file: input0] NAME 6 [source_file: input0] PARAM_LIST 6 [source_file: input0] NAME x 6 [source_file: input0] NAME y 6 [source_file: input0] BLOCK 6 [source_file: input0] EXPR_RESULT 7 [source_file: input0] CALL 7 [source_file: input0] GETPROP 7 [source_file: input0] NEW 7 [source_file: input0] NAME Foo 7 [source_file: input0] STRING handle1 7 [source_file: input0] NUMBER 1.0 7 [source_file: input0] NUMBER 2.0 7 [source_file: input0] EXPR_RESULT 8 [source_file: input0] CALL 8 [source_file: input0] GETPROP 8 [source_file: input0] NEW 8 [source_file: input0] NAME Bar 8 [source_file: input0] STRING handle1 8 [source_file: input0] NUMBER 1.0 8 [source_file: input0] NUMBER 2.0 8 [source_file: input0]
at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1428) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testTypedAdvanced(CommandLineRunnerTest.java:251)
| 0.060 |
| CommandLineRunnerTest | testTypeCheckingOnWithVerbose | Failure | Expected exactly one warning or error
Errors:
Warnings:
expected:<1> but was:<0>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: expected:<1> but was:<0> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testTypeCheckingOnWithVerbose(CommandLineRunnerTest.java:265)
| 0.015 |
| CommandLineRunnerTest | testTypeCheckingOnWithWVerbose | Failure | Expected exactly one warning or error
Errors:
Warnings:
expected:<1> but was:<0>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: expected:<1> but was:<0> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testTypeCheckingOnWithWVerbose(CommandLineRunnerTest.java:270)
| 0.013 |
| CommandLineRunnerTest | testTypeParsingOffByDefault | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 23 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 23 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testTypeParsingOffByDefault(CommandLineRunnerTest.java:274)
| 0.015 |
| CommandLineRunnerTest | testTypeParsingOnWithVerbose | Failure | Expected exactly one warning or error
Errors:
Warnings:
JSC_TYPE_PARSE_ERROR. Bad type annotation. expected closing } at input0 line 1 : 20
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 23 expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: JSC_TYPE_PARSE_ERROR. Bad type annotation. expected closing } at input0 line 1 : 20 JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 23 expected:<1> but was:<2> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testTypeParsingOnWithVerbose(CommandLineRunnerTest.java:279)
| 0.025 |
| CommandLineRunnerTest | testTypeCheckOverride1 | Success | | 0.028 |
| CommandLineRunnerTest | testTypeCheckOverride2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testTypeCheckOverride2(CommandLineRunnerTest.java:293)
| 0.041 |
| CommandLineRunnerTest | testCheckSymbolsOffForDefault | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testCheckSymbolsOffForDefault(CommandLineRunnerTest.java:302)
| 0.023 |
| CommandLineRunnerTest | testCheckSymbolsOnForVerbose | Success | | 0.048 |
| CommandLineRunnerTest | testCheckSymbolsOverrideForVerbose | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testCheckSymbolsOverrideForVerbose(CommandLineRunnerTest.java:315)
| 0.038 |
| CommandLineRunnerTest | testCheckSymbolsOverrideForQuiet | Success | | 0.023 |
| CommandLineRunnerTest | testCheckUndefinedProperties1 | Success | | 0.018 |
| CommandLineRunnerTest | testCheckUndefinedProperties2 | Failure | Expected exactly one warning or error
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0
JSC_UNDEFINED_NAME. x.bar is never defined at input0 line 1 : 20 expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 JSC_UNDEFINED_NAME. x.bar is never defined at input0 line 1 : 20 expected:<1> but was:<2> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testCheckUndefinedProperties2(CommandLineRunnerTest.java:333)
| 0.029 |
| CommandLineRunnerTest | testCheckUndefinedProperties3 | Failure | Expected exactly one warning or error
Errors:
Warnings:
expected:<1> but was:<0>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: expected:<1> but was:<0> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testCheckUndefinedProperties3(CommandLineRunnerTest.java:338)
| 0.019 |
| CommandLineRunnerTest | testDuplicateParams | Success | | 0.009 |
| CommandLineRunnerTest | testDefineFlag | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testDefineFlag(CommandLineRunnerTest.java:352)
| 0.018 |
| CommandLineRunnerTest | testDefineFlag2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 24 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 24 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testDefineFlag2(CommandLineRunnerTest.java:361)
| 0.015 |
| CommandLineRunnerTest | testDefineFlag3 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 24 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 24 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testDefineFlag3(CommandLineRunnerTest.java:367)
| 0.022 |
| CommandLineRunnerTest | testScriptStrictModeNoWarning | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testScriptStrictModeNoWarning(CommandLineRunnerTest.java:372)
| 0.017 |
| CommandLineRunnerTest | testFunctionStrictModeNoWarning | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testFunctionStrictModeNoWarning(CommandLineRunnerTest.java:377)
| 0.017 |
| CommandLineRunnerTest | testQuietMode | Failure | Expected exactly one warning or error
Errors:
Warnings:
JSC_PARSE_ERROR. Parse error. conflicting @const tag at input0 line 2 : 3
JSC_UNREACHABLE_CODE. unreachable code at input0 line 2 : 13 expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: JSC_PARSE_ERROR. Parse error. conflicting @const tag at input0 line 2 : 3 JSC_UNREACHABLE_CODE. unreachable code at input0 line 2 : 13 expected:<1> but was:<2> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testQuietMode(CommandLineRunnerTest.java:384)
| 0.015 |
| CommandLineRunnerTest | testProcessClosurePrimitives | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testProcessClosurePrimitives(CommandLineRunnerTest.java:391)
| 0.023 |
| CommandLineRunnerTest | testGetMsgWiring | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testGetMsgWiring(CommandLineRunnerTest.java:398)
| 0.017 |
| CommandLineRunnerTest | testGetMsgWiringNoWarnings | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 24 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 24 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testGetMsgWiringNoWarnings(CommandLineRunnerTest.java:411)
| 0.071 |
| CommandLineRunnerTest | testCssNameWiring | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testCssNameWiring(CommandLineRunnerTest.java:415)
| 0.027 |
| CommandLineRunnerTest | testIssue70a | Success | | 0.008 |
| CommandLineRunnerTest | testIssue70b | Success | | 0.009 |
| CommandLineRunnerTest | testIssue81 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testIssue81(CommandLineRunnerTest.java:445)
| 0.023 |
| CommandLineRunnerTest | testIssue115 | Failure |
Expected: function f(){arguments=Array.prototype.slice.call(arguments,0);return arguments[0]}
Result: function f(){var arguments=Array.prototype.slice.call(arguments,0);return arguments[0]}
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION f 1 [source_file: input0]
NAME f 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
NAME arguments 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Array 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING slice 1 [source_file: input0]
STRING call 1 [source_file: input0]
NAME arguments 1 [source_file: input0]
NUMBER 0.0 1 [source_file: input0]
RETURN 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME arguments 1 [source_file: input0]
NUMBER 0.0 1 [source_file: input0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION f 1 [source_file: input0]
NAME f 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
VAR 1 [source_file: input0]
NAME arguments 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Array 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING slice 1 [source_file: input0]
STRING call 1 [source_file: input0]
NAME arguments 1 [source_file: input0]
NUMBER 0.0 1 [source_file: input0]
RETURN 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME arguments 1 [source_file: input0]
NUMBER 0.0 1 [source_file: input0]
Subtree1: EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
NAME arguments 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Array 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING slice 1 [source_file: input0]
STRING call 1 [source_file: input0]
NAME arguments 1 [source_file: input0]
NUMBER 0.0 1 [source_file: input0]
Subtree2: VAR 1 [source_file: input0]
NAME arguments 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Array 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING slice 1 [source_file: input0]
STRING call 1 [source_file: input0]
NAME arguments 1 [source_file: input0]
NUMBER 0.0 1 [source_file: input0]
junit.framework.AssertionFailedError: Expected: function f(){arguments=Array.prototype.slice.call(arguments,0);return arguments[0]} Result: function f(){var arguments=Array.prototype.slice.call(arguments,0);return arguments[0]} Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION f 1 [source_file: input0] NAME f 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] NAME arguments 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Array 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING slice 1 [source_file: input0] STRING call 1 [source_file: input0] NAME arguments 1 [source_file: input0] NUMBER 0.0 1 [source_file: input0] RETURN 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME arguments 1 [source_file: input0] NUMBER 0.0 1 [source_file: input0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION f 1 [source_file: input0] NAME f 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] VAR 1 [source_file: input0] NAME arguments 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Array 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING slice 1 [source_file: input0] STRING call 1 [source_file: input0] NAME arguments 1 [source_file: input0] NUMBER 0.0 1 [source_file: input0] RETURN 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME arguments 1 [source_file: input0] NUMBER 0.0 1 [source_file: input0]
Subtree1: EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] NAME arguments 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Array 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING slice 1 [source_file: input0] STRING call 1 [source_file: input0] NAME arguments 1 [source_file: input0] NUMBER 0.0 1 [source_file: input0]
Subtree2: VAR 1 [source_file: input0] NAME arguments 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Array 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING slice 1 [source_file: input0] STRING call 1 [source_file: input0] NAME arguments 1 [source_file: input0] NUMBER 0.0 1 [source_file: input0]
at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1428) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testIssue115(CommandLineRunnerTest.java:453)
| 0.014 |
| CommandLineRunnerTest | testIssue297 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testIssue297(CommandLineRunnerTest.java:465)
| 0.012 |
| CommandLineRunnerTest | testHiddenSideEffect | Error | Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_USELESS_CODE. Suspicious code. The result of the 'getprop' operator is not being used. at input0 line 1 : 0, JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0]> has length <1>
java.lang.AssertionError: Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_USELESS_CODE. Suspicious code. The result of the 'getprop' operator is not being used. at input0 line 1 : 0, JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0]> has length <1> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:230) at com.google.common.truth.AbstractArraySubject.hasLength(AbstractArraySubject.java:60) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1418) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1442) at com.google.javascript.jscomp.CommandLineRunnerTest.testHiddenSideEffect(CommandLineRunnerTest.java:477)
| 0.015 |
| CommandLineRunnerTest | testIssue504 | Failure |
Expected: alert("hi");void 0
Result: JSCOMPILER_PRESERVE(void function(){alert("hi")}())
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
STRING hi 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
VOID 1 [source_file: input0]
NUMBER 0.0 1 [source_file: input0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME JSCOMPILER_PRESERVE 1 [source_file: input0]
VOID 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
STRING hi 1 [source_file: input0]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
STRING hi 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
VOID 1 [source_file: input0]
NUMBER 0.0 1 [source_file: input0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME JSCOMPILER_PRESERVE 1 [source_file: input0]
VOID 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
STRING hi 1 [source_file: input0]
junit.framework.AssertionFailedError: Expected: alert("hi");void 0 Result: JSCOMPILER_PRESERVE(void function(){alert("hi")}()) Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] STRING hi 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] VOID 1 [source_file: input0] NUMBER 0.0 1 [source_file: input0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME JSCOMPILER_PRESERVE 1 [source_file: input0] VOID 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] STRING hi 1 [source_file: input0]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] STRING hi 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] VOID 1 [source_file: input0] NUMBER 0.0 1 [source_file: input0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME JSCOMPILER_PRESERVE 1 [source_file: input0] VOID 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] STRING hi 1 [source_file: input0]
at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1428) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1442) at com.google.javascript.jscomp.CommandLineRunnerTest.testIssue504(CommandLineRunnerTest.java:483)
| 0.011 |
| CommandLineRunnerTest | testIssue601b | Failure |
Expected: window.f=function(){return"\v"=="v"}
Result: function f(){return"\v"=="v"}window["f"]=f
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
RETURN 1 [source_file: input0]
EQ 1 [source_file: input0]
STRING 1 [source_file: input0] [slash_v: 1]
STRING v 1 [source_file: input0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION f 1 [source_file: input0]
NAME f 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
RETURN 1 [source_file: input0]
EQ 1 [source_file: input0]
STRING 1 [source_file: input0] [slash_v: 1]
STRING v 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
NAME f 1 [source_file: input0]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
RETURN 1 [source_file: input0]
EQ 1 [source_file: input0]
STRING 1 [source_file: input0] [slash_v: 1]
STRING v 1 [source_file: input0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION f 1 [source_file: input0]
NAME f 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
RETURN 1 [source_file: input0]
EQ 1 [source_file: input0]
STRING 1 [source_file: input0] [slash_v: 1]
STRING v 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
NAME f 1 [source_file: input0]
junit.framework.AssertionFailedError: Expected: window.f=function(){return"\v"=="v"} Result: function f(){return"\v"=="v"}window["f"]=f Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] RETURN 1 [source_file: input0] EQ 1 [source_file: input0] STRING 1 [source_file: input0] [slash_v: 1] STRING v 1 [source_file: input0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION f 1 [source_file: input0] NAME f 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] RETURN 1 [source_file: input0] EQ 1 [source_file: input0] STRING 1 [source_file: input0] [slash_v: 1] STRING v 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] NAME f 1 [source_file: input0]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] RETURN 1 [source_file: input0] EQ 1 [source_file: input0] STRING 1 [source_file: input0] [slash_v: 1] STRING v 1 [source_file: input0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION f 1 [source_file: input0] NAME f 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] RETURN 1 [source_file: input0] EQ 1 [source_file: input0] STRING 1 [source_file: input0] [slash_v: 1] STRING v 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] NAME f 1 [source_file: input0]
at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1428) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testIssue601b(CommandLineRunnerTest.java:495)
| 0.010 |
| CommandLineRunnerTest | testIssue601c | Failure |
Expected: window.f=function(){return"\x0B"=="v"}
Result: function f(){return"\x0B"=="v"}window["f"]=f
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
RETURN 1 [source_file: input0]
EQ 1 [source_file: input0]
STRING 1 [source_file: input0]
STRING v 1 [source_file: input0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION f 1 [source_file: input0]
NAME f 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
RETURN 1 [source_file: input0]
EQ 1 [source_file: input0]
STRING 1 [source_file: input0]
STRING v 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
NAME f 1 [source_file: input0]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
RETURN 1 [source_file: input0]
EQ 1 [source_file: input0]
STRING 1 [source_file: input0]
STRING v 1 [source_file: input0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
FUNCTION f 1 [source_file: input0]
NAME f 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
RETURN 1 [source_file: input0]
EQ 1 [source_file: input0]
STRING 1 [source_file: input0]
STRING v 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETELEM 1 [source_file: input0]
NAME window 1 [source_file: input0]
STRING f 1 [source_file: input0]
NAME f 1 [source_file: input0]
junit.framework.AssertionFailedError: Expected: window.f=function(){return"\x0B"=="v"} Result: function f(){return"\x0B"=="v"}window["f"]=f Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] RETURN 1 [source_file: input0] EQ 1 [source_file: input0] STRING 1 [source_file: input0] STRING v 1 [source_file: input0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION f 1 [source_file: input0] NAME f 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] RETURN 1 [source_file: input0] EQ 1 [source_file: input0] STRING 1 [source_file: input0] STRING v 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] NAME f 1 [source_file: input0]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] RETURN 1 [source_file: input0] EQ 1 [source_file: input0] STRING 1 [source_file: input0] STRING v 1 [source_file: input0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] FUNCTION f 1 [source_file: input0] NAME f 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] RETURN 1 [source_file: input0] EQ 1 [source_file: input0] STRING 1 [source_file: input0] STRING v 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETELEM 1 [source_file: input0] NAME window 1 [source_file: input0] STRING f 1 [source_file: input0] NAME f 1 [source_file: input0]
at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1428) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testIssue601c(CommandLineRunnerTest.java:501)
| 0.014 |
| CommandLineRunnerTest | testIssue846 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testIssue846(CommandLineRunnerTest.java:507)
| 0.018 |
| CommandLineRunnerTest | testSideEffectIntegration | Failure |
Expected: var a=new function(){};a.a=5;alert(a)
Result: var Foo=function(){};Foo.prototype.blah=function(){Foo.bar_(this)};Foo.bar_=function(f){f.x=5};var y=new Foo;Foo.bar_({});y.blah();alert(y)
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
VAR 1 [source_file: input0]
NAME a 1 [source_file: input0]
NEW 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME a 1 [source_file: input0]
STRING a 1 [source_file: input0]
NUMBER 5.0 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
NAME a 1 [source_file: input0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
VAR 1 [jsdoc_info: JSDocInfo] [source_file: input0]
NAME Foo 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING blah 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
STRING bar_ 1 [source_file: input0]
THIS 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
STRING bar_ 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
NAME f 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME f 1 [source_file: input0]
STRING x 1 [source_file: input0]
NUMBER 5.0 1 [source_file: input0]
VAR 1 [source_file: input0]
NAME y 1 [source_file: input0]
NEW 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
STRING bar_ 1 [source_file: input0]
OBJECTLIT 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME y 1 [source_file: input0]
STRING blah 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
NAME y 1 [source_file: input0]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
VAR 1 [source_file: input0]
NAME a 1 [source_file: input0]
NEW 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME a 1 [source_file: input0]
STRING a 1 [source_file: input0]
NUMBER 5.0 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
NAME a 1 [source_file: input0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0]
VAR 1 [jsdoc_info: JSDocInfo] [source_file: input0]
NAME Foo 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
STRING prototype 1 [source_file: input0]
STRING blah 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
STRING bar_ 1 [source_file: input0]
THIS 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
STRING bar_ 1 [source_file: input0]
FUNCTION 1 [source_file: input0]
NAME 1 [source_file: input0]
PARAM_LIST 1 [source_file: input0]
NAME f 1 [source_file: input0]
BLOCK 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
ASSIGN 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME f 1 [source_file: input0]
STRING x 1 [source_file: input0]
NUMBER 5.0 1 [source_file: input0]
VAR 1 [source_file: input0]
NAME y 1 [source_file: input0]
NEW 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME Foo 1 [source_file: input0]
STRING bar_ 1 [source_file: input0]
OBJECTLIT 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [source_file: input0]
GETPROP 1 [source_file: input0]
NAME y 1 [source_file: input0]
STRING blah 1 [source_file: input0]
EXPR_RESULT 1 [source_file: input0]
CALL 1 [free_call: 1] [source_file: input0]
NAME alert 1 [source_file: input0]
NAME y 1 [source_file: input0]
junit.framework.AssertionFailedError: Expected: var a=new function(){};a.a=5;alert(a) Result: var Foo=function(){};Foo.prototype.blah=function(){Foo.bar_(this)};Foo.bar_=function(f){f.x=5};var y=new Foo;Foo.bar_({});y.blah();alert(y) Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] VAR 1 [source_file: input0] NAME a 1 [source_file: input0] NEW 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME a 1 [source_file: input0] STRING a 1 [source_file: input0] NUMBER 5.0 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] NAME a 1 [source_file: input0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] VAR 1 [jsdoc_info: JSDocInfo] [source_file: input0] NAME Foo 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Foo 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING blah 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Foo 1 [source_file: input0] STRING bar_ 1 [source_file: input0] THIS 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Foo 1 [source_file: input0] STRING bar_ 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] NAME f 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME f 1 [source_file: input0] STRING x 1 [source_file: input0] NUMBER 5.0 1 [source_file: input0] VAR 1 [source_file: input0] NAME y 1 [source_file: input0] NEW 1 [source_file: input0] NAME Foo 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Foo 1 [source_file: input0] STRING bar_ 1 [source_file: input0] OBJECTLIT 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME y 1 [source_file: input0] STRING blah 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] NAME y 1 [source_file: input0]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] VAR 1 [source_file: input0] NAME a 1 [source_file: input0] NEW 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME a 1 [source_file: input0] STRING a 1 [source_file: input0] NUMBER 5.0 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] NAME a 1 [source_file: input0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: input0] [input_id: InputId: input0] VAR 1 [jsdoc_info: JSDocInfo] [source_file: input0] NAME Foo 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Foo 1 [source_file: input0] STRING prototype 1 [source_file: input0] STRING blah 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Foo 1 [source_file: input0] STRING bar_ 1 [source_file: input0] THIS 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Foo 1 [source_file: input0] STRING bar_ 1 [source_file: input0] FUNCTION 1 [source_file: input0] NAME 1 [source_file: input0] PARAM_LIST 1 [source_file: input0] NAME f 1 [source_file: input0] BLOCK 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] ASSIGN 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME f 1 [source_file: input0] STRING x 1 [source_file: input0] NUMBER 5.0 1 [source_file: input0] VAR 1 [source_file: input0] NAME y 1 [source_file: input0] NEW 1 [source_file: input0] NAME Foo 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME Foo 1 [source_file: input0] STRING bar_ 1 [source_file: input0] OBJECTLIT 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [source_file: input0] GETPROP 1 [source_file: input0] NAME y 1 [source_file: input0] STRING blah 1 [source_file: input0] EXPR_RESULT 1 [source_file: input0] CALL 1 [free_call: 1] [source_file: input0] NAME alert 1 [source_file: input0] NAME y 1 [source_file: input0]
at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1428) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testSideEffectIntegration(CommandLineRunnerTest.java:513)
| 0.019 |
| CommandLineRunnerTest | testDebugFlag1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testDebugFlag1(CommandLineRunnerTest.java:539)
| 0.013 |
| CommandLineRunnerTest | testDebugFlag2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testDebugFlag2(CommandLineRunnerTest.java:546)
| 0.047 |
| CommandLineRunnerTest | testDebugFlag3 | Success | | 0.067 |
| CommandLineRunnerTest | testDebugFlag4 | Success | | 0.037 |
| CommandLineRunnerTest | testBooleanFlag1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testBooleanFlag1(CommandLineRunnerTest.java:573)
| 0.016 |
| CommandLineRunnerTest | testBooleanFlag2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testBooleanFlag2(CommandLineRunnerTest.java:580)
| 0.012 |
| CommandLineRunnerTest | testHelpFlag | Success | | 0.020 |
| CommandLineRunnerTest | testHoistedFunction1 | Error | Not true that <-2> is equal to <0>
java.lang.AssertionError: Not true that <-2> is equal to <0> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:230) at com.google.common.truth.Subject.isEqualTo(Subject.java:98) at com.google.common.truth.IntegerSubject.isEqualTo(IntegerSubject.java:66) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1465) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testHoistedFunction1(CommandLineRunnerTest.java:598)
| 0.009 |
| CommandLineRunnerTest | testHoistedFunction2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testHoistedFunction2(CommandLineRunnerTest.java:603)
| 0.016 |
| CommandLineRunnerTest | testExternsLifting1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at [[singleton]] line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at [[singleton]] line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testExternsLifting1(CommandLineRunnerTest.java:609)
| 0.012 |
| CommandLineRunnerTest | testExternsLifting2 | Error | Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_WRONG_ARGUMENT_COUNT. Function f: called with 1 argument(s). Function requires at least 0 argument(s) and no more than 0 argument(s). at input1 line 1 : 0, JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0]> has length <1>
java.lang.AssertionError: Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_WRONG_ARGUMENT_COUNT. Function f: called with 1 argument(s). Function requires at least 0 argument(s) and no more than 0 argument(s). at input1 line 1 : 0, JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0]> has length <1> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:230) at com.google.common.truth.AbstractArraySubject.hasLength(AbstractArraySubject.java:60) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1418) at com.google.javascript.jscomp.CommandLineRunnerTest.testExternsLifting2(CommandLineRunnerTest.java:629)
| 0.014 |
| CommandLineRunnerTest | testSourceSortingOff | Success | | 0.008 |
| CommandLineRunnerTest | testSourceSortingOn | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourceSortingOn(CommandLineRunnerTest.java:644)
| 0.009 |
| CommandLineRunnerTest | testSourceSortingOn2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourceSortingOn2(CommandLineRunnerTest.java:655)
| 0.011 |
| CommandLineRunnerTest | testSourceSortingOn3 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourceSortingOn3(CommandLineRunnerTest.java:668)
| 0.011 |
| CommandLineRunnerTest | testSourceSortingCircularDeps1 | Success | | 0.007 |
| CommandLineRunnerTest | testSourceSortingCircularDeps2 | Success | | 0.008 |
| CommandLineRunnerTest | testSourcePruningOn1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourcePruningOn1(CommandLineRunnerTest.java:703)
| 0.013 |
| CommandLineRunnerTest | testSourcePruningOn2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourcePruningOn2(CommandLineRunnerTest.java:716)
| 0.011 |
| CommandLineRunnerTest | testSourcePruningOn3 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input2 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input2 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourcePruningOn3(CommandLineRunnerTest.java:729)
| 0.012 |
| CommandLineRunnerTest | testSourcePruningOn4 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourcePruningOn4(CommandLineRunnerTest.java:742)
| 0.015 |
| CommandLineRunnerTest | testSourcePruningOn5 | Success | | 0.004 |
| CommandLineRunnerTest | testSourcePruningOn6 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourcePruningOn6(CommandLineRunnerTest.java:765)
| 0.025 |
| CommandLineRunnerTest | testSourcePruningOn7 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourcePruningOn7(CommandLineRunnerTest.java:779)
| 0.024 |
| CommandLineRunnerTest | testSourcePruningOn8 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourcePruningOn8(CommandLineRunnerTest.java:791)
| 0.023 |
| CommandLineRunnerTest | testModuleEntryPoint | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at [m0] line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at [m0] line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testModuleEntryPoint(CommandLineRunnerTest.java:805)
| 0.010 |
| CommandLineRunnerTest | testNoCompile | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testNoCompile(CommandLineRunnerTest.java:820)
| 0.014 |
| CommandLineRunnerTest | testDependencySortingWhitespaceMode | Success | | 0.016 |
| CommandLineRunnerTest | testForwardDeclareDroppedTypes | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input1 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testForwardDeclareDroppedTypes(CommandLineRunnerTest.java:850)
| 0.013 |
| CommandLineRunnerTest | testOnlyClosureDependenciesEmptyEntryPoints | Success | | 0.002 |
| CommandLineRunnerTest | testOnlyClosureDependenciesOneEntryPoint | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input5 line 2 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input5 line 2 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testOnlyClosureDependenciesOneEntryPoint(CommandLineRunnerTest.java:889)
| 0.007 |
| CommandLineRunnerTest | testSourceMapExpansion1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourceMapExpansion1(CommandLineRunnerTest.java:908)
| 0.008 |
| CommandLineRunnerTest | testSourceMapExpansion2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourceMapExpansion2(CommandLineRunnerTest.java:917)
| 0.008 |
| CommandLineRunnerTest | testSourceMapExpansion3 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourceMapExpansion3(CommandLineRunnerTest.java:926)
| 0.008 |
| CommandLineRunnerTest | testSourceMapFormat1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourceMapFormat1(CommandLineRunnerTest.java:936)
| 0.006 |
| CommandLineRunnerTest | testSourceMapFormat2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourceMapFormat2(CommandLineRunnerTest.java:944)
| 0.005 |
| CommandLineRunnerTest | testSourceMapLocationsTranslations1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourceMapLocationsTranslations1(CommandLineRunnerTest.java:953)
| 0.009 |
| CommandLineRunnerTest | testSourceMapLocationsTranslations2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourceMapLocationsTranslations2(CommandLineRunnerTest.java:967)
| 0.017 |
| CommandLineRunnerTest | testSourceMapLocationsTranslations3 | Success | | 0.003 |
| CommandLineRunnerTest | testSourceMapInputs | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testSourceMapInputs(CommandLineRunnerTest.java:998)
| 0.009 |
| CommandLineRunnerTest | testModuleWrapperBaseNameExpansion | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testModuleWrapperBaseNameExpansion(CommandLineRunnerTest.java:1012)
| 0.008 |
| CommandLineRunnerTest | testCharSetExpansion | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testCharSetExpansion(CommandLineRunnerTest.java:1025)
| 0.007 |
| CommandLineRunnerTest | testChainModuleManifest | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testChainModuleManifest(CommandLineRunnerTest.java:1034)
| 0.008 |
| CommandLineRunnerTest | testStarModuleManifest | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testStarModuleManifest(CommandLineRunnerTest.java:1056)
| 0.009 |
| CommandLineRunnerTest | testOutputModuleGraphJson | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testOutputModuleGraphJson(CommandLineRunnerTest.java:1078)
| 0.009 |
| CommandLineRunnerTest | testVersionFlag | Success | | 0.003 |
| CommandLineRunnerTest | testVersionFlag2 | Success | | 0.006 |
| CommandLineRunnerTest | testPrintAstFlag | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testPrintAstFlag(CommandLineRunnerTest.java:1110)
| 0.010 |
| CommandLineRunnerTest | testSyntheticExterns | Failure | Expected exactly one warning or error
Errors:
Warnings:
JSC_UNDEFINED_EXTERN_VAR_ERROR. name myVar is not defined in the externs. at externs line 1 : 0
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: JSC_UNDEFINED_EXTERN_VAR_ERROR. name myVar is not defined in the externs. at externs line 1 : 0 JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<1> but was:<2> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testSyntheticExterns(CommandLineRunnerTest.java:1129)
| 0.004 |
| CommandLineRunnerTest | testGoogAssertStripping | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testGoogAssertStripping(CommandLineRunnerTest.java:1146)
| 0.007 |
| CommandLineRunnerTest | testMissingReturnCheckOnWithVerbose | Error | Not true that <JSC_UNREACHABLE_CODE: unreachable code> is equal to <JSC_MISSING_RETURN_STATEMENT: Missing return statement. Function expected to return {0}.>
java.lang.AssertionError: Not true that <JSC_UNREACHABLE_CODE: unreachable code> is equal to <JSC_MISSING_RETURN_STATEMENT: Missing return statement. Function expected to return {0}.> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:230) at com.google.common.truth.Subject.isEqualTo(Subject.java:98) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1464) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testMissingReturnCheckOnWithVerbose(CommandLineRunnerTest.java:1154)
| 0.011 |
| CommandLineRunnerTest | testGenerateExports | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 15 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 15 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testGenerateExports(CommandLineRunnerTest.java:1160)
| 0.012 |
| CommandLineRunnerTest | testDepreciationWithVerbose | Failure | Expected exactly one warning or error
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 19
JSC_DEPRECATED_VAR. Variable f has been deprecated. at input0 line 1 : 36 expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 19 JSC_DEPRECATED_VAR. Variable f has been deprecated. at input0 line 1 : 36 expected:<1> but was:<2> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testDepreciationWithVerbose(CommandLineRunnerTest.java:1167)
| 0.010 |
| CommandLineRunnerTest | testTwoParseErrors | Success | | 0.004 |
| CommandLineRunnerTest | testES3ByDefault | Error | Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0, JSC_INVALID_ES3_PROP_NAME. Keywords and reserved words are not allowed as unquoted property names in older versions of JavaScript. If you are targeting newer versions of JavaScript, set the appropriate language_in option. at input0 line 1 : 10]> has length <1>
java.lang.AssertionError: Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0, JSC_INVALID_ES3_PROP_NAME. Keywords and reserved words are not allowed as unquoted property names in older versions of JavaScript. If you are targeting newer versions of JavaScript, set the appropriate language_in option. at input0 line 1 : 10]> has length <1> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:230) at com.google.common.truth.AbstractArraySubject.hasLength(AbstractArraySubject.java:60) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1418) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1442) at com.google.javascript.jscomp.CommandLineRunnerTest.testES3ByDefault(CommandLineRunnerTest.java:1183)
| 0.007 |
| CommandLineRunnerTest | testES5ChecksByDefault | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testES5ChecksByDefault(CommandLineRunnerTest.java:1190)
| 0.008 |
| CommandLineRunnerTest | testES5ChecksInVerbose | Failure | Expected exactly one warning or error
Errors:
Warnings:
expected:<1> but was:<0>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors:
Warnings: expected:<1> but was:<0> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testES5ChecksInVerbose(CommandLineRunnerTest.java:1195)
| 0.005 |
| CommandLineRunnerTest | testES5 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testES5(CommandLineRunnerTest.java:1200)
| 0.006 |
| CommandLineRunnerTest | testES5Strict | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testES5Strict(CommandLineRunnerTest.java:1206)
| 0.011 |
| CommandLineRunnerTest | testES5StrictUseStrict | Success | | 0.007 |
| CommandLineRunnerTest | testES5StrictUseStrictMultipleInputs | Success | | 0.015 |
| CommandLineRunnerTest | testWithKeywordWithEs5ChecksOff | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testWithKeywordWithEs5ChecksOff(CommandLineRunnerTest.java:1229)
| 0.008 |
| CommandLineRunnerTest | testNoSrCFilesWithManifest | Success | | 0.003 |
| CommandLineRunnerTest | testTransformAMD | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testTransformAMD(CommandLineRunnerTest.java:1249)
| 0.018 |
| CommandLineRunnerTest | testProcessCJS | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at foo/bar.js line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at foo/bar.js line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testProcessCJS(CommandLineRunnerTest.java:1258)
| 0.017 |
| CommandLineRunnerTest | testProcessCJSWithModuleOutput | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at foo/bar.js line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at foo/bar.js line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testProcessCJSWithModuleOutput(CommandLineRunnerTest.java:1268)
| 0.008 |
| CommandLineRunnerTest | testProcessCJSWithClosureRequires | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at Baz.js line 2 : 15
JSC_UNREACHABLE_CODE. unreachable code at Baz.js line 4 : 18
JSC_UNREACHABLE_CODE. unreachable code at Baz.js line 7 : 19
JSC_UNREACHABLE_CODE. unreachable code at base.js line 2 : 14 expected:<0> but was:<4>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at Baz.js line 2 : 15 JSC_UNREACHABLE_CODE. unreachable code at Baz.js line 4 : 18 JSC_UNREACHABLE_CODE. unreachable code at Baz.js line 7 : 19 JSC_UNREACHABLE_CODE. unreachable code at base.js line 2 : 14 expected:<0> but was:<4> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testProcessCJSWithClosureRequires(CommandLineRunnerTest.java:1287)
| 0.018 |
| CommandLineRunnerTest | testFormattingSingleQuote | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1387) at com.google.javascript.jscomp.CommandLineRunnerTest.testSame(CommandLineRunnerTest.java:1383) at com.google.javascript.jscomp.CommandLineRunnerTest.testFormattingSingleQuote(CommandLineRunnerTest.java:1335)
| 0.009 |
| CommandLineRunnerTest | testTransformAMDAndProcessCJS | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at foo/bar.js line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at foo/bar.js line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testTransformAMDAndProcessCJS(CommandLineRunnerTest.java:1349)
| 0.012 |
| CommandLineRunnerTest | testModuleJSON | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at foo/bar.js line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at foo/bar.js line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1413) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1399) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1391) at com.google.javascript.jscomp.CommandLineRunnerTest.testModuleJSON(CommandLineRunnerTest.java:1360)
| 0.008 |
| CommandLineRunnerTest | testOutputSameAsInput | Failure | Expected exactly one warning or error
Errors:
JSC_OUTPUT_SAME_AS_INPUT_ERROR. Bad output file (already listed as input file): input0 at (unknown source) line (unknown line) : (unknown column)
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected exactly one warning or error Errors: JSC_OUTPUT_SAME_AS_INPUT_ERROR. Bad output file (already listed as input file): input0 at (unknown source) line (unknown line) : (unknown column) Warnings: JSC_UNREACHABLE_CODE. unreachable code at input0 line 1 : 0 expected:<1> but was:<2> at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1450) at com.google.javascript.jscomp.CommandLineRunnerTest.test(CommandLineRunnerTest.java:1438) at com.google.javascript.jscomp.CommandLineRunnerTest.testOutputSameAsInput(CommandLineRunnerTest.java:1366)
| 0.006 |
| CommandLineRunnerTest | testOutputWrapperFlag | Success | | 0.002 |
| CommonJSIntegrationTest | testCrossModuleCtorCall | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.CommonJSIntegrationTest.testCrossModuleCtorCall(CommonJSIntegrationTest.java:28)
| 0.007 |
| CommonJSIntegrationTest | testCrossModuleCtorCall2 | Failure | Unexpected warnings or errors.
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20
Warning:JSC_WRONG_ARGUMENT_COUNT. Function Hello$$module$i1: called with 1 argument(s). Function requires at least 0 argument(s) and no more than 0 argument(s). at i1 line 1 : 40
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.CommonJSIntegrationTest.testCrossModuleCtorCall2(CommonJSIntegrationTest.java:47)
| 0.006 |
| CommonJSIntegrationTest | testCrossModuleTypeAnnotation | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.CommonJSIntegrationTest.testCrossModuleTypeAnnotation(CommonJSIntegrationTest.java:59)
| 0.006 |
| CommonJSIntegrationTest | testCrossModuleTypeAnnotation2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.CommonJSIntegrationTest.testCrossModuleTypeAnnotation2(CommonJSIntegrationTest.java:73)
| 0.006 |
| CommonJSIntegrationTest | testCrossModuleTypeAnnotation3 | Failure | Unexpected warnings or errors.
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20
Warning:JSC_TYPE_MISMATCH. initializing variable
found : number
required: Hello$$module$i0 at i1 line 1 : 62
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 Warning:JSC_TYPE_MISMATCH. initializing variable found : number required: Hello$$module$i0 at i1 line 1 : 62 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.CommonJSIntegrationTest.testCrossModuleTypeAnnotation3(CommonJSIntegrationTest.java:90)
| 0.006 |
| CommonJSIntegrationTest | testCrossModuleSubclass1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i1:1:50
var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
Parent(STRING_KEY inherits): i1:1:40
var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i1:1:50 var Hello = require('./i0');var util = {inherits: function (x, y){}};/** Parent(STRING_KEY inherits): i1:1:40 var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.003 |
| CommonJSIntegrationTest | testCrossModuleSubclass2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i1:1:50
var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
Parent(STRING_KEY inherits): i1:1:40
var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i1:1:50 var Hello = require('./i0');var util = {inherits: function (x, y){}};/** Parent(STRING_KEY inherits): i1:1:40 var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.003 |
| CommonJSIntegrationTest | testCrossModuleSubclass3 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i1:1:50
var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
Parent(STRING_KEY inherits): i1:1:40
var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i1:1:50 var Hello = require('./i0');var util = {inherits: function (x, y){}};/** Parent(STRING_KEY inherits): i1:1:40 var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.003 |
| CommonJSIntegrationTest | testCrossModuleSubclass4 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i1:1:47
var i0 = require('./i0');var util = {inherits: function (x, y){}};/**
Parent(STRING_KEY inherits): i1:1:37
var i0 = require('./i0');var util = {inherits: function (x, y){}};/**
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i1:1:47 var i0 = require('./i0');var util = {inherits: function (x, y){}};/** Parent(STRING_KEY inherits): i1:1:37 var i0 = require('./i0');var util = {inherits: function (x, y){}};/**
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.004 |
| CommonJSIntegrationTest | testCrossModuleSubclass5 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i1:1:50
var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
Parent(STRING_KEY inherits): i1:1:40
var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i1:1:50 var Hello = require('./i0');var util = {inherits: function (x, y){}};/** Parent(STRING_KEY inherits): i1:1:40 var Hello = require('./i0');var util = {inherits: function (x, y){}};/**
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.004 |
| CommonJSIntegrationTest | testCrossModuleSubclass6 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i1:1:47
var i0 = require('./i0');var util = {inherits: function (x, y){}};/**
Parent(STRING_KEY inherits): i1:1:37
var i0 = require('./i0');var util = {inherits: function (x, y){}};/**
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i1:1:47 var i0 = require('./i0');var util = {inherits: function (x, y){}};/** Parent(STRING_KEY inherits): i1:1:37 var i0 = require('./i0');var util = {inherits: function (x, y){}};/**
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.004 |
| CompilerOptionsTest | testDefines | Success | | 0.001 |
| CompilerTest | testCodeBuilderColumnAfterReset | Success | | 0.000 |
| CompilerTest | testCodeBuilderAppend | Success | | 0.000 |
| CompilerTest | testCyclicalDependencyInInputs | Success | | 0.001 |
| CompilerTest | testLocalUndefined | Success | | 0.007 |
| CompilerTest | testCommonJSProvidesAndRequire | Success | | 0.003 |
| CompilerTest | testCommonJSMissingRequire | Success | | 0.002 |
| CompilerTest | testInputSourceMaps | Success | | 0.004 |
| CompilerTest | testInputDelimiters | Success | | 0.004 |
| CompilerTest | testBug2176967Default | Failure | expected:<1> but was:<2>
junit.framework.AssertionFailedError: expected:<1> but was:<2> at com.google.javascript.jscomp.CompilerTest.testBug2176967Default(CompilerTest.java:272)
| 0.005 |
| CompilerTest | testBug2176967Off | Failure | expected:<0> but was:<1>
junit.framework.AssertionFailedError: expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTest.testBug2176967Off(CompilerTest.java:290)
| 0.005 |
| CompilerTest | testCoverage | Failure | expected:<0> but was:<1>
junit.framework.AssertionFailedError: expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTest.testCoverage(CompilerTest.java:328)
| 0.015 |
| CompilerTest | testBug2176967Error | Success | | 0.002 |
| CompilerTest | testNormalInputs | Success | | 0.001 |
| CompilerTest | testRebuildInputsFromModule | Success | | 0.000 |
| CompilerTest | testMalformedFunctionInExterns | Success | | 0.002 |
| CompilerTest | testGetSourceInfoInExterns | Success | | 0.002 |
| CompilerTest | testFileoverviewTwice | Success | | 0.003 |
| CompilerTest | testLicenseDirectiveOutput | Success | | 0.004 |
| CompilerTest | testLicenseAndOverviewDirectiveWarning | Success | | 0.002 |
| CompilerTest | testOverviewAndLicenseDirectiveOutput | Success | | 0.005 |
| CompilerTest | testLicenseOverviewLicense | Success | | 0.004 |
| CompilerTest | testCombinedLicenseOverviewDirectiveOutput | Success | | 0.004 |
| CompilerTest | testCombinedLicenseAuthorDirectiveOutput | Success | | 0.004 |
| CompilerTest | testMultipleLicenseDirectiveOutput | Success | | 0.007 |
| CompilerTest | testTwoLicenseInSameComment | Success | | 0.005 |
| CompilerTest | testLicenseInTree | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): testcode:1:8
var a = function() {
Parent(NAME a): testcode:1:4
var a = function() {
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): testcode:1:8 var a = function() { Parent(NAME a): testcode:1:4 var a = function() {
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| CompilerTest | testDefineNoOverriding | Success | | 0.000 |
| CompilerTest | testDefineOverriding1 | Success | | 0.000 |
| CompilerTest | testDefineOverriding2 | Success | | 0.000 |
| CompilerTest | testDefineOverriding3 | Success | | 0.000 |
| CompilerTest | testBadDefineOverriding1 | Success | | 0.000 |
| CompilerTest | testBadDefineOverriding2 | Success | | 0.000 |
| CompilerTest | testBadDefineOverriding3 | Success | | 0.000 |
| CompilerTest | testBadDefineOverriding4 | Success | | 0.000 |
| CompilerTest | testBadDefineOverriding5 | Success | | 0.000 |
| CompilerTest | testBadDefineOverriding6 | Success | | 0.000 |
| CompilerTest | testConsecutiveSemicolons | Success | | 0.001 |
| CompilerTest | testWarningsFiltering | Success | | 0.002 |
| CompilerTest | testExportSymbolReservesNamesForRenameVars | Success | | 0.004 |
| CompilerTest | testGenerateExportsReservesNames | Success | | 0.003 |
| CompilerTest | testIdeModeSkipsOptimizations | Success | | 0.004 |
| CompilerTest | testAdditionalReplacementsForClosure | Success | | 0.000 |
| CompilerTest | testInputSerialization | Success | | 0.014 |
| CompilerTest | testGetEmptyResult | Success | | 0.000 |
| ConstCheckTest | testConstantDefinition1 | Success | | 0.002 |
| ConstCheckTest | testConstantDefinition2 | Success | | 0.001 |
| ConstCheckTest | testObjectModified | Success | | 0.001 |
| ConstCheckTest | testConstantInitializedInAnonymousNamespace1 | Success | | 0.001 |
| ConstCheckTest | testConstantInitializedInAnonymousNamespace2 | Success | | 0.001 |
| ConstCheckTest | testObjectPropertyInitializedLate | Failure | Unexpected error(s): JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant i assigned a value more than once.
Original definition at testcode:1 at testcode line 1 : 38 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected error(s): JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant i assigned a value more than once. Original definition at testcode:1 at testcode line 1 : 38 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1070) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.ConstCheckTest.testObjectPropertyInitializedLate(ConstCheckTest.java:61)
| 0.001 |
| ConstCheckTest | testObjectRedefined1 | Success | | 0.001 |
| ConstCheckTest | testConstantRedefined1 | Success | | 0.001 |
| ConstCheckTest | testConstantRedefined2 | Success | | 0.001 |
| ConstCheckTest | testConstantRedefinedInLocalScope1 | Success | | 0.000 |
| ConstCheckTest | testConstantRedefinedInLocalScope2 | Success | | 0.000 |
| ConstCheckTest | testConstantRedefinedInLocalScopeOutOfOrder | Success | | 0.001 |
| ConstCheckTest | testConstantPostIncremented1 | Success | | 0.000 |
| ConstCheckTest | testConstantPostIncremented2 | Success | | 0.000 |
| ConstCheckTest | testConstantPreIncremented1 | Success | | 0.001 |
| ConstCheckTest | testConstantPreIncremented2 | Success | | 0.000 |
| ConstCheckTest | testConstantPostDecremented1 | Success | | 0.000 |
| ConstCheckTest | testConstantPostDecremented2 | Success | | 0.001 |
| ConstCheckTest | testConstantPreDecremented1 | Success | | 0.001 |
| ConstCheckTest | testConstantPreDecremented2 | Success | | 0.000 |
| ConstCheckTest | testAbbreviatedArithmeticAssignment1 | Success | | 0.001 |
| ConstCheckTest | testAbbreviatedArithmeticAssignment2 | Success | | 0.000 |
| ConstCheckTest | testAbbreviatedBitAssignment1 | Success | | 0.000 |
| ConstCheckTest | testAbbreviatedBitAssignment2 | Success | | 0.001 |
| ConstCheckTest | testAbbreviatedShiftAssignment1 | Success | | 0.001 |
| ConstCheckTest | testAbbreviatedShiftAssignment2 | Success | | 0.001 |
| ConstCheckTest | testConstAnnotation | Success | | 0.000 |
| ConstCheckTest | testConstSuppressionInFileJsDoc | Success | | 0.001 |
| ConstCheckTest | testConstSuppressionOnAssignment | Success | | 0.001 |
| ConstCheckTest | testConstSuppressionOnAddAssign | Success | | 0.000 |
| ConstCheckTest | testConstSuppressionOnVar | Success | | 0.000 |
| ConstCheckTest | testConstSuppressionOnVarFromExterns | Success | | 0.000 |
| ConstCheckTest | testConstSuppressionOnInc | Success | | 0.001 |
| ConstCheckTest | testConstNameInExterns | Success | | 0.001 |
| ConstParamCheckTest | testStringLiteralArgument | Success | | 0.002 |
| ConstParamCheckTest | testConcatenatedStringLiteralArgument | Success | | 0.002 |
| ConstParamCheckTest | testNotStringLiteralArgument1 | Success | | 0.001 |
| ConstParamCheckTest | testNotStringLiteralArgument2 | Success | | 0.001 |
| ConstParamCheckTest | testNotStringLiteralArgument3 | Success | | 0.001 |
| ConstParamCheckTest | testNotStringLiteralArgumentAliased | Success | | 0.001 |
| ConstParamCheckTest | testStringLiteralConstantArgument | Success | | 0.001 |
| ConstParamCheckTest | testStringLiteralAnnotatedConstantArgument | Success | | 0.001 |
| ConstParamCheckTest | testNotConstantArgument | Success | | 0.001 |
| ConstParamCheckTest | testStringLiteralConstantArgumentOrder | Success | | 0.001 |
| ConstParamCheckTest | testConcatenatedStringLiteralConstantArgument | Success | | 0.001 |
| ConstParamCheckTest | testNotStringLiteralConstantArgument1 | Success | | 0.001 |
| ConstParamCheckTest | testNotStringLiteralConstantArgument2 | Success | | 0.000 |
| ControlFlowAnalysisTest | testInstanceOf | Success | | 0.002 |
| ControlFlowAnalysisTest | testReturn | Success | | 0.000 |
| ControlFlowAnalysisTest | testForIn | Success | | 0.001 |
| ControlFlowAnalysisTest | testSimpleStatements | Success | | 0.000 |
| ControlFlowAnalysisTest | testSimpleIf | Success | | 0.000 |
| ControlFlowAnalysisTest | testBreakingBlock | Success | | 0.001 |
| ControlFlowAnalysisTest | testThrowInCatchBlock | Success | | 0.000 |
| ControlFlowAnalysisTest | testBreakingTryBlock | Success | | 0.001 |
| ControlFlowAnalysisTest | testWithStatement | Success | | 0.000 |
| ControlFlowAnalysisTest | testSimpleWhile | Success | | 0.001 |
| ControlFlowAnalysisTest | testSimpleSwitch | Success | | 0.002 |
| ControlFlowAnalysisTest | testSimpleNoDefault | Success | | 0.000 |
| ControlFlowAnalysisTest | testSwitchDefaultFirst | Success | | 0.000 |
| ControlFlowAnalysisTest | testSwitchDefaultInMiddle | Success | | 0.000 |
| ControlFlowAnalysisTest | testSwitchEmpty | Success | | 0.000 |
| ControlFlowAnalysisTest | testReturnThrowingException | Success | | 0.001 |
| ControlFlowAnalysisTest | testSimpleFor | Success | | 0.000 |
| ControlFlowAnalysisTest | testSimpleForWithContinue | Success | | 0.000 |
| ControlFlowAnalysisTest | testNestedFor | Success | | 0.001 |
| ControlFlowAnalysisTest | testNestedDoWithBreak | Success | | 0.001 |
| ControlFlowAnalysisTest | testThrow | Success | | 0.000 |
| ControlFlowAnalysisTest | testSimpleFunction | Success | | 0.001 |
| ControlFlowAnalysisTest | testSimpleCatch | Success | | 0.001 |
| ControlFlowAnalysisTest | testFunctionWithinTry | Success | | 0.001 |
| ControlFlowAnalysisTest | testNestedCatch | Success | | 0.000 |
| ControlFlowAnalysisTest | testSimpleFinally | Success | | 0.001 |
| ControlFlowAnalysisTest | testSimpleCatchFinally | Success | | 0.000 |
| ControlFlowAnalysisTest | testComplicatedFinally2 | Success | | 0.000 |
| ControlFlowAnalysisTest | testDeepNestedBreakwithFinally | Success | | 0.001 |
| ControlFlowAnalysisTest | testDeepNestedFinally | Success | | 0.001 |
| ControlFlowAnalysisTest | testReturnInFinally | Success | | 0.001 |
| ControlFlowAnalysisTest | testReturnInFinally2 | Success | | 0.000 |
| ControlFlowAnalysisTest | testReturnInTry | Success | | 0.001 |
| ControlFlowAnalysisTest | testOptionNotToTraverseFunctions | Success | | 0.001 |
| ControlFlowAnalysisTest | testSynBlock | Success | | 0.002 |
| ControlFlowAnalysisTest | testPartialTraversalOfScope | Success | | 0.000 |
| ControlFlowAnalysisTest | testForLoopOrder | Success | | 0.000 |
| ControlFlowAnalysisTest | testLabelledForInLoopOrder | Success | | 0.000 |
| ControlFlowAnalysisTest | testLocalFunctionOrder | Success | | 0.001 |
| ControlFlowAnalysisTest | testDoWhileOrder | Success | | 0.000 |
| ControlFlowAnalysisTest | testBreakInFinally1 | Success | | 0.000 |
| ControlFlowAnalysisTest | testBreakInFinally2 | Success | | 0.000 |
| ConvertDeclaredTypesToJSDocTest | testArrayType | Success | | 0.003 |
| ConvertDeclaredTypesToJSDocTest | testParameterizedType | Success | | 0.001 |
| ConvertDeclaredTypesToJSDocTest | testBuiltins | Success | | 0.001 |
| ConvertDeclaredTypesToJSDocTest | testNamedType | Success | | 0.000 |
| ConvertDeclaredTypesToJSDocTest | testParameterizedArrayType | Success | | 0.000 |
| ConvertToDottedPropertiesTest | testDoNotConvert | Success | | 0.013 |
| ConvertToDottedPropertiesTest | testConvert | Success | | 0.005 |
| ConvertToDottedPropertiesTest | testQuotedProps | Success | | 0.003 |
| ConvertToDottedPropertiesTest | test5746867 | Success | | 0.002 |
| ConvertToTypedES6Test | testVar | Success | | 0.002 |
| ConvertToTypedES6Test | testPropertyDeclaration | Success | | 0.001 |
| ConvertToTypedES6Test | testPropertyDeclarationByAssignment | Success | | 0.000 |
| ConvertToTypedES6Test | testFunction | Success | | 0.000 |
| ConvertToTypedES6Test | testFunctionParameters | Success | | 0.000 |
| ConvertToTypedES6Test | testNoEmptyTypeAnnotationsAttached | Success | | 0.000 |
| CreateSyntheticBlocksTest | testFold1 | Success | | 0.002 |
| CreateSyntheticBlocksTest | testFoldWithMarkers1 | Success | | 0.001 |
| CreateSyntheticBlocksTest | testFoldWithMarkers1a | Success | | 0.000 |
| CreateSyntheticBlocksTest | testFold2 | Success | | 0.001 |
| CreateSyntheticBlocksTest | testFoldWithMarkers2 | Success | | 0.001 |
| CreateSyntheticBlocksTest | testUnmatchedStartMarker | Success | | 0.001 |
| CreateSyntheticBlocksTest | testUnmatchedEndMarker1 | Success | | 0.001 |
| CreateSyntheticBlocksTest | testDenormalize | Success | | 0.001 |
| CreateSyntheticBlocksTest | testInvalid1 | Success | | 0.001 |
| CreateSyntheticBlocksTest | testInvalid2 | Success | | 0.001 |
| CreateSyntheticBlocksTest | testUnmatchedEndMarker2 | Success | | 0.000 |
| CreateSyntheticBlocksTest | testNonMarkingUse | Success | | 0.001 |
| CreateSyntheticBlocksTest | testContainingBlockPreservation | Success | | 0.001 |
| CrossModuleCodeMotionTest | testFunctionMovement1 | Success | | 0.005 |
| CrossModuleCodeMotionTest | testFunctionMovement2 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testFunctionMovement3 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testFunctionMovement4 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testFunctionMovement5 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testFunctionMovement5b | Success | | 0.001 |
| CrossModuleCodeMotionTest | testFunctionMovement6 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testFunctionMovement7 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testFunctionMovement8 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testFunctionNonMovement1 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testFunctionNonMovement2 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testClassMovement1 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testClassMovement_instanceof | Success | | 0.003 |
| CrossModuleCodeMotionTest | testClassMovement_instanceofTurnedOff | Success | | 0.003 |
| CrossModuleCodeMotionTest | testClassMovement_instanceof2 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testClassMovement_instanceof3 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testClassMovement_instanceof_noRewriteRequired | Success | | 0.001 |
| CrossModuleCodeMotionTest | testClassMovement_instanceof_noRewriteRequired2 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testClassMovement2 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testClassMovement3 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testClassMovement4 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testClassMovement5 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testClassMovement6 | Failure |
Expected: function Foo(){}new Foo;function Bar(){}goog.inherits(Bar,Foo);new Bar
Result: function Foo(){}function Bar(){}goog.inherits(Bar,Foo);new Foo;new Bar
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FUNCTION Foo 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
SCRIPT 1 [synthetic: 1] [source_file: expected1] [input_id: InputId: expected1]
FUNCTION Bar 1 [source_file: expected1]
NAME Bar 1 [source_file: expected1]
PARAM_LIST 1 [source_file: expected1]
BLOCK 1 [source_file: expected1]
EXPR_RESULT 1 [source_file: expected1]
CALL 1 [source_file: expected1]
GETPROP 1 [source_file: expected1]
NAME goog 1 [source_file: expected1]
STRING inherits 1 [source_file: expected1]
NAME Bar 1 [source_file: expected1]
NAME Foo 1 [source_file: expected1]
EXPR_RESULT 1 [source_file: expected1]
NEW 1 [source_file: expected1]
NAME Bar 1 [source_file: expected1]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: i0] [input_id: InputId: i0]
FUNCTION Foo 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
PARAM_LIST 1 [source_file: i0]
BLOCK 1 [source_file: i0]
FUNCTION Bar 1 [source_file: i0]
NAME Bar 1 [source_file: i0]
PARAM_LIST 1 [source_file: i0]
BLOCK 1 [source_file: i0]
EXPR_RESULT 1 [source_file: i0]
CALL 1 [source_file: i0]
GETPROP 1 [source_file: i0]
NAME goog 1 [source_file: i0]
STRING inherits 1 [source_file: i0]
NAME Bar 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
EXPR_RESULT 1 [source_file: i0]
NEW 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
SCRIPT 1 [synthetic: 1] [source_file: i1] [input_id: InputId: i1]
EXPR_RESULT 1 [source_file: i1]
NEW 1 [source_file: i1]
NAME Bar 1 [source_file: i1]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FUNCTION Foo 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: i0] [input_id: InputId: i0]
FUNCTION Foo 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
PARAM_LIST 1 [source_file: i0]
BLOCK 1 [source_file: i0]
FUNCTION Bar 1 [source_file: i0]
NAME Bar 1 [source_file: i0]
PARAM_LIST 1 [source_file: i0]
BLOCK 1 [source_file: i0]
EXPR_RESULT 1 [source_file: i0]
CALL 1 [source_file: i0]
GETPROP 1 [source_file: i0]
NAME goog 1 [source_file: i0]
STRING inherits 1 [source_file: i0]
NAME Bar 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
EXPR_RESULT 1 [source_file: i0]
NEW 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
junit.framework.AssertionFailedError: Expected: function Foo(){}new Foo;function Bar(){}goog.inherits(Bar,Foo);new Bar Result: function Foo(){}function Bar(){}goog.inherits(Bar,Foo);new Foo;new Bar Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] FUNCTION Foo 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] SCRIPT 1 [synthetic: 1] [source_file: expected1] [input_id: InputId: expected1] FUNCTION Bar 1 [source_file: expected1] NAME Bar 1 [source_file: expected1] PARAM_LIST 1 [source_file: expected1] BLOCK 1 [source_file: expected1] EXPR_RESULT 1 [source_file: expected1] CALL 1 [source_file: expected1] GETPROP 1 [source_file: expected1] NAME goog 1 [source_file: expected1] STRING inherits 1 [source_file: expected1] NAME Bar 1 [source_file: expected1] NAME Foo 1 [source_file: expected1] EXPR_RESULT 1 [source_file: expected1] NEW 1 [source_file: expected1] NAME Bar 1 [source_file: expected1]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: i0] [input_id: InputId: i0] FUNCTION Foo 1 [source_file: i0] NAME Foo 1 [source_file: i0] PARAM_LIST 1 [source_file: i0] BLOCK 1 [source_file: i0] FUNCTION Bar 1 [source_file: i0] NAME Bar 1 [source_file: i0] PARAM_LIST 1 [source_file: i0] BLOCK 1 [source_file: i0] EXPR_RESULT 1 [source_file: i0] CALL 1 [source_file: i0] GETPROP 1 [source_file: i0] NAME goog 1 [source_file: i0] STRING inherits 1 [source_file: i0] NAME Bar 1 [source_file: i0] NAME Foo 1 [source_file: i0] EXPR_RESULT 1 [source_file: i0] NEW 1 [source_file: i0] NAME Foo 1 [source_file: i0] SCRIPT 1 [synthetic: 1] [source_file: i1] [input_id: InputId: i1] EXPR_RESULT 1 [source_file: i1] NEW 1 [source_file: i1] NAME Bar 1 [source_file: i1]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] FUNCTION Foo 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME Foo 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: i0] [input_id: InputId: i0] FUNCTION Foo 1 [source_file: i0] NAME Foo 1 [source_file: i0] PARAM_LIST 1 [source_file: i0] BLOCK 1 [source_file: i0] FUNCTION Bar 1 [source_file: i0] NAME Bar 1 [source_file: i0] PARAM_LIST 1 [source_file: i0] BLOCK 1 [source_file: i0] EXPR_RESULT 1 [source_file: i0] CALL 1 [source_file: i0] GETPROP 1 [source_file: i0] NAME goog 1 [source_file: i0] STRING inherits 1 [source_file: i0] NAME Bar 1 [source_file: i0] NAME Foo 1 [source_file: i0] EXPR_RESULT 1 [source_file: i0] NEW 1 [source_file: i0] NAME Foo 1 [source_file: i0]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.CrossModuleCodeMotionTest.testClassMovement6(CrossModuleCodeMotionTest.java:450)
| 0.003 |
| CrossModuleCodeMotionTest | testClassMovement7 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testStubMethodMovement1 | Success | | 0.000 |
| CrossModuleCodeMotionTest | testStubMethodMovement2 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testNoMoveSideEffectProperty | Success | | 0.002 |
| CrossModuleCodeMotionTest | testAssignMovement | Success | | 0.003 |
| CrossModuleCodeMotionTest | testNoClassMovement2 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testLiteralMovement1 | Success | | 0.000 |
| CrossModuleCodeMotionTest | testLiteralMovement2 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testLiteralMovement3 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testLiteralMovement4 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testVarMovement1 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testVarMovement2 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testVarMovement3 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testVarMovement4 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testVarMovement5 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testVarMovement6 | Success | | 0.001 |
| CrossModuleCodeMotionTest | testVarMovement7 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testVarMovement8 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testVarMovement9 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testClone1 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testClone2 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testBug4118005 | Success | | 0.002 |
| CrossModuleCodeMotionTest | testEmptyModule | Success | | 0.002 |
| CrossModuleCodeMotionTest | testAbstractMethod | Success | | 0.002 |
| CrossModuleMethodMotionTest | testMovePrototypeMethod1 | Success | | 0.011 |
| CrossModuleMethodMotionTest | testMovePrototypeMethod2 | Success | | 0.003 |
| CrossModuleMethodMotionTest | testMovePrototypeMethod3 | Success | | 0.001 |
| CrossModuleMethodMotionTest | testMovePrototypeMethodWithoutStub | Success | | 0.002 |
| CrossModuleMethodMotionTest | testNoMovePrototypeMethodRedeclaration1 | Success | | 0.001 |
| CrossModuleMethodMotionTest | testNoMovePrototypeMethodRedeclaration2 | Success | | 0.001 |
| CrossModuleMethodMotionTest | testNoMovePrototypeMethodRedeclaration3 | Success | | 0.001 |
| CrossModuleMethodMotionTest | testTwoMethods | Success | | 0.002 |
| CrossModuleMethodMotionTest | testMovePrototypeRecursiveMethod | Success | | 0.002 |
| CrossModuleMethodMotionTest | testCantMovePrototypeProp | Success | | 0.002 |
| CrossModuleMethodMotionTest | testMoveMethodsInRightOrder | Success | | 0.004 |
| CrossModuleMethodMotionTest | testMoveMethodsInRightOrder2 | Success | | 0.004 |
| CrossModuleMethodMotionTest | testMoveMethodsUsedInTwoModules | Success | | 0.003 |
| CrossModuleMethodMotionTest | testMoveMethodsUsedInTwoModules2 | Success | | 0.003 |
| CrossModuleMethodMotionTest | testTwoMethods2 | Success | | 0.004 |
| CrossModuleMethodMotionTest | testGlobalFunctionsInGraph | Failure |
Expected: var JSCompiler_stubMap=[];function JSCompiler_stubMethod(JSCompiler_stubMethod_id){return function(){return JSCompiler_stubMap[JSCompiler_stubMethod_id].apply(this,arguments)}}function JSCompiler_unstubMethod(JSCompiler_unstubMethod_id,JSCompiler_unstubMethod_body){return JSCompiler_stubMap[JSCompiler_unstubMethod_id]=JSCompiler_unstubMethod_body}function Foo(){}Foo.prototype.baz=JSCompiler_stubMethod(0);function x(){return(new Foo).baz()}Foo.prototype.baz=JSCompiler_unstubMethod(0,function(){});
x()
Result: function Foo(){}Foo.prototype.baz=function(){};function x(){return(new Foo).baz()}x()
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME JSCompiler_stubMap 1 [source_file: expected0]
ARRAYLIT 1 [source_file: expected0]
FUNCTION JSCompiler_stubMethod 1 [source_file: expected0]
NAME JSCompiler_stubMethod 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
NAME JSCompiler_stubMethod_id 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
RETURN 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
RETURN 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
GETELEM 1 [source_file: expected0]
NAME JSCompiler_stubMap 1 [source_file: expected0]
NAME JSCompiler_stubMethod_id 1 [source_file: expected0]
STRING apply 1 [source_file: expected0]
THIS 1 [source_file: expected0]
NAME arguments 1 [source_file: expected0]
FUNCTION JSCompiler_unstubMethod 1 [source_file: expected0]
NAME JSCompiler_unstubMethod 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
NAME JSCompiler_unstubMethod_id 1 [source_file: expected0]
NAME JSCompiler_unstubMethod_body 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
RETURN 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETELEM 1 [source_file: expected0]
NAME JSCompiler_stubMap 1 [source_file: expected0]
NAME JSCompiler_unstubMethod_id 1 [source_file: expected0]
NAME JSCompiler_unstubMethod_body 1 [source_file: expected0]
FUNCTION Foo 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
STRING prototype 1 [source_file: expected0]
STRING baz 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME JSCompiler_stubMethod 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
FUNCTION x 1 [source_file: expected0]
NAME x 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
RETURN 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
STRING baz 1 [source_file: expected0]
SCRIPT 1 [synthetic: 1] [source_file: expected1] [input_id: InputId: expected1]
EXPR_RESULT 1 [source_file: expected1]
ASSIGN 1 [source_file: expected1]
GETPROP 1 [source_file: expected1]
GETPROP 1 [source_file: expected1]
NAME Foo 1 [source_file: expected1]
STRING prototype 1 [source_file: expected1]
STRING baz 1 [source_file: expected1]
CALL 1 [free_call: 1] [source_file: expected1]
NAME JSCompiler_unstubMethod 1 [source_file: expected1]
NUMBER 0.0 1 [source_file: expected1]
FUNCTION 1 [source_file: expected1]
NAME 1 [source_file: expected1]
PARAM_LIST 1 [source_file: expected1]
BLOCK 1 [source_file: expected1]
EXPR_RESULT 1 [source_file: expected1]
CALL 1 [free_call: 1] [source_file: expected1]
NAME x 1 [source_file: expected1]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: i0] [input_id: InputId: i0]
FUNCTION Foo 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
PARAM_LIST 1 [source_file: i0]
BLOCK 1 [source_file: i0]
EXPR_RESULT 1 [source_file: i0]
ASSIGN 1 [source_file: i0]
GETPROP 1 [source_file: i0]
GETPROP 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
STRING prototype 1 [source_file: i0]
STRING baz 1 [source_file: i0]
FUNCTION 1 [source_file: i0]
NAME 1 [source_file: i0]
PARAM_LIST 1 [source_file: i0]
BLOCK 1 [source_file: i0]
FUNCTION x 1 [source_file: i0]
NAME x 1 [source_file: i0]
PARAM_LIST 1 [source_file: i0]
BLOCK 1 [source_file: i0]
RETURN 1 [source_file: i0]
CALL 1 [source_file: i0]
GETPROP 1 [source_file: i0]
NEW 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
STRING baz 1 [source_file: i0]
SCRIPT 1 [synthetic: 1] [source_file: i1] [input_id: InputId: i1]
EXPR_RESULT 1 [source_file: i1]
CALL 1 [free_call: 1] [source_file: i1]
NAME x 1 [source_file: i1]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME JSCompiler_stubMap 1 [source_file: expected0]
ARRAYLIT 1 [source_file: expected0]
FUNCTION JSCompiler_stubMethod 1 [source_file: expected0]
NAME JSCompiler_stubMethod 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
NAME JSCompiler_stubMethod_id 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
RETURN 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
RETURN 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
GETELEM 1 [source_file: expected0]
NAME JSCompiler_stubMap 1 [source_file: expected0]
NAME JSCompiler_stubMethod_id 1 [source_file: expected0]
STRING apply 1 [source_file: expected0]
THIS 1 [source_file: expected0]
NAME arguments 1 [source_file: expected0]
FUNCTION JSCompiler_unstubMethod 1 [source_file: expected0]
NAME JSCompiler_unstubMethod 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
NAME JSCompiler_unstubMethod_id 1 [source_file: expected0]
NAME JSCompiler_unstubMethod_body 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
RETURN 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETELEM 1 [source_file: expected0]
NAME JSCompiler_stubMap 1 [source_file: expected0]
NAME JSCompiler_unstubMethod_id 1 [source_file: expected0]
NAME JSCompiler_unstubMethod_body 1 [source_file: expected0]
FUNCTION Foo 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
STRING prototype 1 [source_file: expected0]
STRING baz 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME JSCompiler_stubMethod 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
FUNCTION x 1 [source_file: expected0]
NAME x 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
RETURN 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
STRING baz 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: i0] [input_id: InputId: i0]
FUNCTION Foo 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
PARAM_LIST 1 [source_file: i0]
BLOCK 1 [source_file: i0]
EXPR_RESULT 1 [source_file: i0]
ASSIGN 1 [source_file: i0]
GETPROP 1 [source_file: i0]
GETPROP 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
STRING prototype 1 [source_file: i0]
STRING baz 1 [source_file: i0]
FUNCTION 1 [source_file: i0]
NAME 1 [source_file: i0]
PARAM_LIST 1 [source_file: i0]
BLOCK 1 [source_file: i0]
FUNCTION x 1 [source_file: i0]
NAME x 1 [source_file: i0]
PARAM_LIST 1 [source_file: i0]
BLOCK 1 [source_file: i0]
RETURN 1 [source_file: i0]
CALL 1 [source_file: i0]
GETPROP 1 [source_file: i0]
NEW 1 [source_file: i0]
NAME Foo 1 [source_file: i0]
STRING baz 1 [source_file: i0]
junit.framework.AssertionFailedError: Expected: var JSCompiler_stubMap=[];function JSCompiler_stubMethod(JSCompiler_stubMethod_id){return function(){return JSCompiler_stubMap[JSCompiler_stubMethod_id].apply(this,arguments)}}function JSCompiler_unstubMethod(JSCompiler_unstubMethod_id,JSCompiler_unstubMethod_body){return JSCompiler_stubMap[JSCompiler_unstubMethod_id]=JSCompiler_unstubMethod_body}function Foo(){}Foo.prototype.baz=JSCompiler_stubMethod(0);function x(){return(new Foo).baz()}Foo.prototype.baz=JSCompiler_unstubMethod(0,function(){}); x() Result: function Foo(){}Foo.prototype.baz=function(){};function x(){return(new Foo).baz()}x() Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME JSCompiler_stubMap 1 [source_file: expected0] ARRAYLIT 1 [source_file: expected0] FUNCTION JSCompiler_stubMethod 1 [source_file: expected0] NAME JSCompiler_stubMethod 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] NAME JSCompiler_stubMethod_id 1 [source_file: expected0] BLOCK 1 [source_file: expected0] RETURN 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] RETURN 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] GETELEM 1 [source_file: expected0] NAME JSCompiler_stubMap 1 [source_file: expected0] NAME JSCompiler_stubMethod_id 1 [source_file: expected0] STRING apply 1 [source_file: expected0] THIS 1 [source_file: expected0] NAME arguments 1 [source_file: expected0] FUNCTION JSCompiler_unstubMethod 1 [source_file: expected0] NAME JSCompiler_unstubMethod 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] NAME JSCompiler_unstubMethod_id 1 [source_file: expected0] NAME JSCompiler_unstubMethod_body 1 [source_file: expected0] BLOCK 1 [source_file: expected0] RETURN 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETELEM 1 [source_file: expected0] NAME JSCompiler_stubMap 1 [source_file: expected0] NAME JSCompiler_unstubMethod_id 1 [source_file: expected0] NAME JSCompiler_unstubMethod_body 1 [source_file: expected0] FUNCTION Foo 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] STRING prototype 1 [source_file: expected0] STRING baz 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME JSCompiler_stubMethod 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] FUNCTION x 1 [source_file: expected0] NAME x 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] RETURN 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] STRING baz 1 [source_file: expected0] SCRIPT 1 [synthetic: 1] [source_file: expected1] [input_id: InputId: expected1] EXPR_RESULT 1 [source_file: expected1] ASSIGN 1 [source_file: expected1] GETPROP 1 [source_file: expected1] GETPROP 1 [source_file: expected1] NAME Foo 1 [source_file: expected1] STRING prototype 1 [source_file: expected1] STRING baz 1 [source_file: expected1] CALL 1 [free_call: 1] [source_file: expected1] NAME JSCompiler_unstubMethod 1 [source_file: expected1] NUMBER 0.0 1 [source_file: expected1] FUNCTION 1 [source_file: expected1] NAME 1 [source_file: expected1] PARAM_LIST 1 [source_file: expected1] BLOCK 1 [source_file: expected1] EXPR_RESULT 1 [source_file: expected1] CALL 1 [free_call: 1] [source_file: expected1] NAME x 1 [source_file: expected1]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: i0] [input_id: InputId: i0] FUNCTION Foo 1 [source_file: i0] NAME Foo 1 [source_file: i0] PARAM_LIST 1 [source_file: i0] BLOCK 1 [source_file: i0] EXPR_RESULT 1 [source_file: i0] ASSIGN 1 [source_file: i0] GETPROP 1 [source_file: i0] GETPROP 1 [source_file: i0] NAME Foo 1 [source_file: i0] STRING prototype 1 [source_file: i0] STRING baz 1 [source_file: i0] FUNCTION 1 [source_file: i0] NAME 1 [source_file: i0] PARAM_LIST 1 [source_file: i0] BLOCK 1 [source_file: i0] FUNCTION x 1 [source_file: i0] NAME x 1 [source_file: i0] PARAM_LIST 1 [source_file: i0] BLOCK 1 [source_file: i0] RETURN 1 [source_file: i0] CALL 1 [source_file: i0] GETPROP 1 [source_file: i0] NEW 1 [source_file: i0] NAME Foo 1 [source_file: i0] STRING baz 1 [source_file: i0] SCRIPT 1 [synthetic: 1] [source_file: i1] [input_id: InputId: i1] EXPR_RESULT 1 [source_file: i1] CALL 1 [free_call: 1] [source_file: i1] NAME x 1 [source_file: i1]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME JSCompiler_stubMap 1 [source_file: expected0] ARRAYLIT 1 [source_file: expected0] FUNCTION JSCompiler_stubMethod 1 [source_file: expected0] NAME JSCompiler_stubMethod 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] NAME JSCompiler_stubMethod_id 1 [source_file: expected0] BLOCK 1 [source_file: expected0] RETURN 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] RETURN 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] GETELEM 1 [source_file: expected0] NAME JSCompiler_stubMap 1 [source_file: expected0] NAME JSCompiler_stubMethod_id 1 [source_file: expected0] STRING apply 1 [source_file: expected0] THIS 1 [source_file: expected0] NAME arguments 1 [source_file: expected0] FUNCTION JSCompiler_unstubMethod 1 [source_file: expected0] NAME JSCompiler_unstubMethod 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] NAME JSCompiler_unstubMethod_id 1 [source_file: expected0] NAME JSCompiler_unstubMethod_body 1 [source_file: expected0] BLOCK 1 [source_file: expected0] RETURN 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETELEM 1 [source_file: expected0] NAME JSCompiler_stubMap 1 [source_file: expected0] NAME JSCompiler_unstubMethod_id 1 [source_file: expected0] NAME JSCompiler_unstubMethod_body 1 [source_file: expected0] FUNCTION Foo 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] STRING prototype 1 [source_file: expected0] STRING baz 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME JSCompiler_stubMethod 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] FUNCTION x 1 [source_file: expected0] NAME x 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] RETURN 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] STRING baz 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: i0] [input_id: InputId: i0] FUNCTION Foo 1 [source_file: i0] NAME Foo 1 [source_file: i0] PARAM_LIST 1 [source_file: i0] BLOCK 1 [source_file: i0] EXPR_RESULT 1 [source_file: i0] ASSIGN 1 [source_file: i0] GETPROP 1 [source_file: i0] GETPROP 1 [source_file: i0] NAME Foo 1 [source_file: i0] STRING prototype 1 [source_file: i0] STRING baz 1 [source_file: i0] FUNCTION 1 [source_file: i0] NAME 1 [source_file: i0] PARAM_LIST 1 [source_file: i0] BLOCK 1 [source_file: i0] FUNCTION x 1 [source_file: i0] NAME x 1 [source_file: i0] PARAM_LIST 1 [source_file: i0] BLOCK 1 [source_file: i0] RETURN 1 [source_file: i0] CALL 1 [source_file: i0] GETPROP 1 [source_file: i0] NEW 1 [source_file: i0] NAME Foo 1 [source_file: i0] STRING baz 1 [source_file: i0]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.CrossModuleMethodMotionTest.testGlobalFunctionsInGraph(CrossModuleMethodMotionTest.java:325)
| 0.002 |
| CrossModuleMethodMotionTest | testClosureVariableReads1 | Success | | 0.001 |
| CrossModuleMethodMotionTest | testClosureVariableReads2 | Success | | 0.003 |
| CrossModuleMethodMotionTest | testClosureVariableReads3 | Success | | 0.002 |
| CrossModuleMethodMotionTest | testNoClosureVariableReads1 | Success | | 0.003 |
| CrossModuleMethodMotionTest | testNoClosureVariableReads2 | Success | | 0.002 |
| CrossModuleMethodMotionTest | testInnerFunctionClosureVariableReads | Success | | 0.003 |
| CrossModuleMethodMotionTest | testIssue600 | Success | | 0.002 |
| CrossModuleMethodMotionTest | testIssue600b | Success | | 0.002 |
| CrossModuleMethodMotionTest | testIssue600c | Success | | 0.002 |
| CrossModuleMethodMotionTest | testIssue600d | Success | | 0.003 |
| CrossModuleMethodMotionTest | testIssue600e | Success | | 0.002 |
| CrossModuleMethodMotionTest | testPrototypeOfThisAssign | Success | | 0.002 |
| DataFlowAnalysisTest | testSimpleLoop | Success | | 0.005 |
| DataFlowAnalysisTest | testLatticeArrayMinimizationWhenMidpointIsEven | Success | | 0.000 |
| DataFlowAnalysisTest | testLatticeArrayMinimizationWhenMidpointRoundsDown | Success | | 0.000 |
| DataFlowAnalysisTest | testLatticeArrayMinimizationWithTwoElements | Success | | 0.001 |
| DataFlowAnalysisTest | testBranchedSimpleIf | Success | | 0.002 |
| DataFlowAnalysisTest | testMaxIterationsExceededException | Success | | 0.001 |
| DataFlowAnalysisTest | testSimpleIf | Success | | 0.000 |
| DeadAssignmentsEliminationTest | testLoops | Success | | 0.015 |
| DeadAssignmentsEliminationTest | testMultiPaths | Success | | 0.017 |
| DeadAssignmentsEliminationTest | testUsedAsConditions | Success | | 0.016 |
| DeadAssignmentsEliminationTest | testUsedAsConditionsInSwitchStatements | Success | | 0.028 |
| DeadAssignmentsEliminationTest | testAssignmentInReturn | Success | | 0.003 |
| DeadAssignmentsEliminationTest | testAssignmentSamples | Success | | 0.007 |
| DeadAssignmentsEliminationTest | testAssignmentInArgs | Success | | 0.008 |
| DeadAssignmentsEliminationTest | testAssignAndReadInCondition | Success | | 0.005 |
| DeadAssignmentsEliminationTest | testParameters | Success | | 0.008 |
| DeadAssignmentsEliminationTest | testErrorHandling | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.DeadAssignmentsEliminationTest.inFunction(DeadAssignmentsEliminationTest.java:346) at com.google.javascript.jscomp.DeadAssignmentsEliminationTest.inFunction(DeadAssignmentsEliminationTest.java:342) at com.google.javascript.jscomp.DeadAssignmentsEliminationTest.testErrorHandling(DeadAssignmentsEliminationTest.java:148)
| 0.001 |
| DeadAssignmentsEliminationTest | testDeadVarDeclarations | Success | | 0.019 |
| DeadAssignmentsEliminationTest | testGlobal | Success | | 0.001 |
| DeadAssignmentsEliminationTest | testInnerFunctions | Success | | 0.001 |
| DeadAssignmentsEliminationTest | testInnerFunctions2 | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testSelfReAssignment | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testSelfIncrement | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testAssignmentOp | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testAssignmentOpUsedAsLhs | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testAssignmentOpUsedAsCondition | Success | | 0.031 |
| DeadAssignmentsEliminationTest | testDeadIncrement | Success | | 0.003 |
| DeadAssignmentsEliminationTest | testDeadButAlivePartiallyWithinTheExpression | Success | | 0.007 |
| DeadAssignmentsEliminationTest | testMutipleDeadAssignmentsButAlivePartiallyWithinTheExpression | Success | | 0.003 |
| DeadAssignmentsEliminationTest | testDeadPartiallyWithinTheExpression | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testAssignmentChain | Success | | 0.012 |
| DeadAssignmentsEliminationTest | testAssignmentOpChain | Success | | 0.009 |
| DeadAssignmentsEliminationTest | testIncDecInSubExpressions | Success | | 0.020 |
| DeadAssignmentsEliminationTest | testNestedReassignments | Success | | 0.033 |
| DeadAssignmentsEliminationTest | testIncrementalReassignmentInForLoops | Success | | 0.008 |
| DeadAssignmentsEliminationTest | testIdentityAssignments | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testBug8730257 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME sortIndices 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME sortIndices 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME bar 1 [source_file: testcode]
FOR 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME i 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
LT 1 [source_file: testcode]
NAME i 1 [source_file: testcode]
NUMBER 100.0 1 [source_file: testcode]
INC 1 [incrdecr: 1] [source_file: testcode]
NAME i 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME sortIndex 1 [source_file: testcode]
GETELEM 1 [source_file: testcode]
NAME sortIndices 1 [source_file: testcode]
NAME i 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME bar 1 [source_file: testcode]
NAME sortIndex 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME bar 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME sortIndices 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME sortIndices 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME bar 1 [source_file: testcode] FOR 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME i 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] LT 1 [source_file: testcode] NAME i 1 [source_file: testcode] NUMBER 100.0 1 [source_file: testcode] INC 1 [incrdecr: 1] [source_file: testcode] NAME i 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME sortIndex 1 [source_file: testcode] GETELEM 1 [source_file: testcode] NAME sortIndices 1 [source_file: testcode] NAME i 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME bar 1 [source_file: testcode] NAME sortIndex 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME bar 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.DeadAssignmentsEliminationTest.inFunction(DeadAssignmentsEliminationTest.java:346) at com.google.javascript.jscomp.DeadAssignmentsEliminationTest.inFunction(DeadAssignmentsEliminationTest.java:342) at com.google.javascript.jscomp.DeadAssignmentsEliminationTest.testBug8730257(DeadAssignmentsEliminationTest.java:351)
| 0.002 |
| DeadAssignmentsEliminationTest | testAssignToExtern | Success | | 0.001 |
| DeadAssignmentsEliminationTest | testIssue297a | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testIssue297b | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testIssue297c | Success | | 0.001 |
| DeadAssignmentsEliminationTest | testIssue297d | Success | | 0.003 |
| DeadAssignmentsEliminationTest | testIssue297e | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testIssue297f | Success | | 0.001 |
| DeadAssignmentsEliminationTest | testIssue297g | Success | | 0.001 |
| DeadAssignmentsEliminationTest | testIssue297h | Success | | 0.001 |
| DeadAssignmentsEliminationTest | testInExpression1 | Success | | 0.007 |
| DeadAssignmentsEliminationTest | testInExpression2 | Success | | 0.011 |
| DeadAssignmentsEliminationTest | testIssue384a | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testIssue384b | Success | | 0.002 |
| DeadAssignmentsEliminationTest | testIssue384c | Success | | 0.001 |
| DeadAssignmentsEliminationTest | testIssue384d | Success | | 0.001 |
| DeadAssignmentsEliminationTest | testSimple | Success | | 0.006 |
| DeadAssignmentsEliminationTest | testForIn | Success | | 0.006 |
| DeclaredGlobalExternsOnWindowTest | testWindowProperty1b | Success | | 0.000 |
| DeclaredGlobalExternsOnWindowTest | testWindowProperty2 | Success | | 0.000 |
| DeclaredGlobalExternsOnWindowTest | testWindowProperty3a | Success | | 0.001 |
| DeclaredGlobalExternsOnWindowTest | testWindowProperty3b | Success | | 0.000 |
| DeclaredGlobalExternsOnWindowTest | testWindowProperty1a | Success | | 0.001 |
| DeclaredGlobalExternsOnWindowTest | testWindowProperty4 | Success | | 0.000 |
| DeclaredGlobalExternsOnWindowTest | testWindowProperty5a | Success | | 0.000 |
| DeclaredGlobalExternsOnWindowTest | testWindowProperty5b | Success | | 0.000 |
| DeclaredGlobalExternsOnWindowTest | testWindowProperty6 | Success | | 0.001 |
| DeclaredGlobalExternsOnWindowTest | testWindowProperty7 | Success | | 0.001 |
| DeclaredGlobalExternsOnWindowTest | testWindowProperty8 | Success | | 0.000 |
| DeclaredGlobalExternsOnWindowTest | testWindowPropertyWithJsDoc | Failure | There should be one warning, repeated 1 time(s). Warnings: [] expected:<1> but was:<0>
junit.framework.AssertionFailedError: There should be one warning, repeated 1 time(s). Warnings: [] expected:<1> but was:<0> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1098) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:835) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:814) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:780) at com.google.javascript.jscomp.DeclaredGlobalExternsOnWindowTest.testWindowPropertyWithJsDoc(DeclaredGlobalExternsOnWindowTest.java:105)
| 0.004 |
| DeclaredGlobalExternsOnWindowTest | testEnum | Success | | 0.004 |
| DeclaredGlobalExternsOnWindowTest | testConstructorIsSameType | Success | | 0.006 |
| DefaultCodingConventionTest | testVarAndOptionalParams | Success | | 0.000 |
| DefaultCodingConventionTest | testInlineName | Success | | 0.000 |
| DefaultCodingConventionTest | testExportedName | Success | | 0.000 |
| DefaultCodingConventionTest | testPrivateName | Success | | 0.000 |
| DefaultCodingConventionTest | testEnumKey | Success | | 0.000 |
| DefaultCodingConventionTest | testInheritanceDetection1 | Success | | 0.001 |
| DefaultCodingConventionTest | testInheritanceDetection2 | Success | | 0.000 |
| DefaultCodingConventionTest | testInheritanceDetection3 | Success | | 0.001 |
| DefaultCodingConventionTest | testInheritanceDetection4 | Success | | 0.000 |
| DefaultCodingConventionTest | testInheritanceDetection5 | Success | | 0.000 |
| DefaultCodingConventionTest | testInheritanceDetection6 | Success | | 0.000 |
| DefaultCodingConventionTest | testInheritanceDetection7 | Success | | 0.000 |
| DefaultCodingConventionTest | testInheritanceDetection8 | Success | | 0.001 |
| DefaultCodingConventionTest | testInheritanceDetection9 | Success | | 0.000 |
| DefaultCodingConventionTest | testInheritanceDetection10 | Success | | 0.001 |
| DefaultCodingConventionTest | testInheritanceDetectionPostCollapseProperties | Success | | 0.001 |
| DefaultCodingConventionTest | testFunctionBind | Success | | 0.003 |
| DefaultCodingConventionTest | testPackageNames | Success | | 0.001 |
| DefinitionsRemoverTest | testRemoveFunction | Success | | 0.006 |
| DefinitionsRemoverTest | testRemoveAssignment | Success | | 0.004 |
| DefinitionsRemoverTest | testRemoveVarAssignment | Success | | 0.003 |
| DefinitionsRemoverTest | testRemoveLiteral | Success | | 0.002 |
| DefinitionsRemoverTest | testRemoveFunctionExpressionName | Success | | 0.001 |
| DenormalizeTest | testFor | Success | | 0.012 |
| DenormalizeTest | testForIn | Success | | 0.009 |
| DenormalizeTest | testInOperatorNotInsideFor | Success | | 0.005 |
| DevirtualizePrototypeMethodsTest | testRewritePrototypeMethods1 | Failure |
Expected: function a(){this.x=3}var JSCompiler_StaticMethods_foo=function(JSCompiler_StaticMethods_foo$self){return JSCompiler_StaticMethods_foo$self.x};var JSCompiler_StaticMethods_bar=function(JSCompiler_StaticMethods_bar$self,p){return JSCompiler_StaticMethods_bar$self.x};var JSCompiler_StaticMethods_baz=function(JSCompiler_StaticMethods_baz$self){};var o=new a;JSCompiler_StaticMethods_foo(o);JSCompiler_StaticMethods_bar(o,2);JSCompiler_StaticMethods_baz(o)
Result: function a(){this.x=3}var JSCompiler_StaticMethods_foo=function(JSCompiler_StaticMethods_foo$self){return JSCompiler_StaticMethods_foo$self.x};var JSCompiler_StaticMethods_bar=function(JSCompiler_StaticMethods_bar$self,p){return JSCompiler_StaticMethods_bar$self.x};var JSCompiler_StaticMethods_baz=function(JSCompiler_StaticMethods_baz$self){};var o=new a;JSCompiler_StaticMethods_foo(o);JSCompiler_StaticMethods_bar(o,2);JSCompiler_StaticMethods_baz(o)
Node tree inequality:
Tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FUNCTION a 1 [source_file: expected0]
NAME a 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING x 1 [source_file: expected0]
NUMBER 3.0 1 [source_file: expected0]
VAR 2 [source_file: expected0]
NAME JSCompiler_StaticMethods_foo 2 [source_file: expected0]
FUNCTION 3 [source_file: expected0]
NAME 3 [source_file: expected0]
PARAM_LIST 3 [source_file: expected0]
NAME JSCompiler_StaticMethods_foo$self 3 [source_file: expected0]
BLOCK 3 [source_file: expected0]
RETURN 4 [source_file: expected0]
GETPROP 4 [source_file: expected0]
NAME JSCompiler_StaticMethods_foo$self 4 [source_file: expected0]
STRING x 4 [source_file: expected0]
VAR 6 [source_file: expected0]
NAME JSCompiler_StaticMethods_bar 6 [source_file: expected0]
FUNCTION 7 [source_file: expected0]
NAME 7 [source_file: expected0]
PARAM_LIST 7 [source_file: expected0]
NAME JSCompiler_StaticMethods_bar$self 7 [source_file: expected0]
NAME p 7 [source_file: expected0]
BLOCK 7 [source_file: expected0]
RETURN 8 [source_file: expected0]
GETPROP 8 [source_file: expected0]
NAME JSCompiler_StaticMethods_bar$self 8 [source_file: expected0]
STRING x 8 [source_file: expected0]
VAR 10 [source_file: expected0]
NAME JSCompiler_StaticMethods_baz 10 [source_file: expected0]
FUNCTION 11 [source_file: expected0]
NAME 11 [source_file: expected0]
PARAM_LIST 11 [source_file: expected0]
NAME JSCompiler_StaticMethods_baz$self 11 [source_file: expected0]
BLOCK 11 [source_file: expected0]
VAR 13 [source_file: expected0]
NAME o 13 [source_file: expected0]
NEW 13 [source_file: expected0]
NAME a 13 [source_file: expected0]
EXPR_RESULT 14 [source_file: expected0]
CALL 14 [free_call: 1] [source_file: expected0]
NAME JSCompiler_StaticMethods_foo 14 [source_file: expected0]
NAME o 14 [source_file: expected0]
EXPR_RESULT 15 [source_file: expected0]
CALL 15 [free_call: 1] [source_file: expected0]
NAME JSCompiler_StaticMethods_bar 15 [source_file: expected0]
NAME o 15 [source_file: expected0]
NUMBER 2.0 15 [source_file: expected0]
EXPR_RESULT 16 [source_file: expected0]
CALL 16 [free_call: 1] [source_file: expected0]
NAME JSCompiler_StaticMethods_baz 16 [source_file: expected0]
NAME o 16 [source_file: expected0]
JSDoc differs on subtree: FUNCTION a 1 [source_file: expected0]
Expected JSDoc: (none)
Actual JSDoc : JSDocInfo{bitset=2, visibility=INHERITED}
junit.framework.AssertionFailedError: Expected: function a(){this.x=3}var JSCompiler_StaticMethods_foo=function(JSCompiler_StaticMethods_foo$self){return JSCompiler_StaticMethods_foo$self.x};var JSCompiler_StaticMethods_bar=function(JSCompiler_StaticMethods_bar$self,p){return JSCompiler_StaticMethods_bar$self.x};var JSCompiler_StaticMethods_baz=function(JSCompiler_StaticMethods_baz$self){};var o=new a;JSCompiler_StaticMethods_foo(o);JSCompiler_StaticMethods_bar(o,2);JSCompiler_StaticMethods_baz(o) Result: function a(){this.x=3}var JSCompiler_StaticMethods_foo=function(JSCompiler_StaticMethods_foo$self){return JSCompiler_StaticMethods_foo$self.x};var JSCompiler_StaticMethods_bar=function(JSCompiler_StaticMethods_bar$self,p){return JSCompiler_StaticMethods_bar$self.x};var JSCompiler_StaticMethods_baz=function(JSCompiler_StaticMethods_baz$self){};var o=new a;JSCompiler_StaticMethods_foo(o);JSCompiler_StaticMethods_bar(o,2);JSCompiler_StaticMethods_baz(o) Node tree inequality: Tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] FUNCTION a 1 [source_file: expected0] NAME a 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING x 1 [source_file: expected0] NUMBER 3.0 1 [source_file: expected0] VAR 2 [source_file: expected0] NAME JSCompiler_StaticMethods_foo 2 [source_file: expected0] FUNCTION 3 [source_file: expected0] NAME 3 [source_file: expected0] PARAM_LIST 3 [source_file: expected0] NAME JSCompiler_StaticMethods_foo$self 3 [source_file: expected0] BLOCK 3 [source_file: expected0] RETURN 4 [source_file: expected0] GETPROP 4 [source_file: expected0] NAME JSCompiler_StaticMethods_foo$self 4 [source_file: expected0] STRING x 4 [source_file: expected0] VAR 6 [source_file: expected0] NAME JSCompiler_StaticMethods_bar 6 [source_file: expected0] FUNCTION 7 [source_file: expected0] NAME 7 [source_file: expected0] PARAM_LIST 7 [source_file: expected0] NAME JSCompiler_StaticMethods_bar$self 7 [source_file: expected0] NAME p 7 [source_file: expected0] BLOCK 7 [source_file: expected0] RETURN 8 [source_file: expected0] GETPROP 8 [source_file: expected0] NAME JSCompiler_StaticMethods_bar$self 8 [source_file: expected0] STRING x 8 [source_file: expected0] VAR 10 [source_file: expected0] NAME JSCompiler_StaticMethods_baz 10 [source_file: expected0] FUNCTION 11 [source_file: expected0] NAME 11 [source_file: expected0] PARAM_LIST 11 [source_file: expected0] NAME JSCompiler_StaticMethods_baz$self 11 [source_file: expected0] BLOCK 11 [source_file: expected0] VAR 13 [source_file: expected0] NAME o 13 [source_file: expected0] NEW 13 [source_file: expected0] NAME a 13 [source_file: expected0] EXPR_RESULT 14 [source_file: expected0] CALL 14 [free_call: 1] [source_file: expected0] NAME JSCompiler_StaticMethods_foo 14 [source_file: expected0] NAME o 14 [source_file: expected0] EXPR_RESULT 15 [source_file: expected0] CALL 15 [free_call: 1] [source_file: expected0] NAME JSCompiler_StaticMethods_bar 15 [source_file: expected0] NAME o 15 [source_file: expected0] NUMBER 2.0 15 [source_file: expected0] EXPR_RESULT 16 [source_file: expected0] CALL 16 [free_call: 1] [source_file: expected0] NAME JSCompiler_StaticMethods_baz 16 [source_file: expected0] NAME o 16 [source_file: expected0]
JSDoc differs on subtree: FUNCTION a 1 [source_file: expected0] Expected JSDoc: (none) Actual JSDoc : JSDocInfo{bitset=2, visibility=INHERITED} at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.DevirtualizePrototypeMethodsTest.checkTypes(DevirtualizePrototypeMethodsTest.java:641) at com.google.javascript.jscomp.DevirtualizePrototypeMethodsTest.testRewritePrototypeMethods1(DevirtualizePrototypeMethodsTest.java:136)
| 0.010 |
| DevirtualizePrototypeMethodsTest | testRewritePrototypeMethods2 | Failure |
Expected: function a(){this.x=3}var JSCompiler_StaticMethods_foo=function(JSCompiler_StaticMethods_foo$self){return JSCompiler_StaticMethods_foo$self.x};var JSCompiler_StaticMethods_bar=function(JSCompiler_StaticMethods_bar$self,p){return JSCompiler_StaticMethods_bar$self.x};var JSCompiler_StaticMethods_baz=function(JSCompiler_StaticMethods_baz$self){};var o=new a;JSCompiler_StaticMethods_foo(o);JSCompiler_StaticMethods_bar(o,2);JSCompiler_StaticMethods_baz(o)
Result: function a(){this.x=3}var JSCompiler_StaticMethods_foo=function(JSCompiler_StaticMethods_foo$self){return JSCompiler_StaticMethods_foo$self.x};var JSCompiler_StaticMethods_bar=function(JSCompiler_StaticMethods_bar$self,p){return JSCompiler_StaticMethods_bar$self.x};var JSCompiler_StaticMethods_baz=function(JSCompiler_StaticMethods_baz$self){};var o=new a;JSCompiler_StaticMethods_foo(o);JSCompiler_StaticMethods_bar(o,2);JSCompiler_StaticMethods_baz(o)
Node tree inequality:
Tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FUNCTION a 1 [source_file: expected0]
NAME a 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING x 1 [source_file: expected0]
NUMBER 3.0 1 [source_file: expected0]
VAR 2 [source_file: expected0]
NAME JSCompiler_StaticMethods_foo 2 [source_file: expected0]
FUNCTION 3 [source_file: expected0]
NAME 3 [source_file: expected0]
PARAM_LIST 3 [source_file: expected0]
NAME JSCompiler_StaticMethods_foo$self 3 [source_file: expected0]
BLOCK 3 [source_file: expected0]
RETURN 4 [source_file: expected0]
GETPROP 4 [source_file: expected0]
NAME JSCompiler_StaticMethods_foo$self 4 [source_file: expected0]
STRING x 4 [source_file: expected0]
VAR 6 [source_file: expected0]
NAME JSCompiler_StaticMethods_bar 6 [source_file: expected0]
FUNCTION 7 [source_file: expected0]
NAME 7 [source_file: expected0]
PARAM_LIST 7 [source_file: expected0]
NAME JSCompiler_StaticMethods_bar$self 7 [source_file: expected0]
NAME p 7 [source_file: expected0]
BLOCK 7 [source_file: expected0]
RETURN 8 [source_file: expected0]
GETPROP 8 [source_file: expected0]
NAME JSCompiler_StaticMethods_bar$self 8 [source_file: expected0]
STRING x 8 [source_file: expected0]
VAR 10 [source_file: expected0]
NAME JSCompiler_StaticMethods_baz 10 [source_file: expected0]
FUNCTION 11 [source_file: expected0]
NAME 11 [source_file: expected0]
PARAM_LIST 11 [source_file: expected0]
NAME JSCompiler_StaticMethods_baz$self 11 [source_file: expected0]
BLOCK 11 [source_file: expected0]
VAR 13 [source_file: expected0]
NAME o 13 [source_file: expected0]
NEW 13 [source_file: expected0]
NAME a 13 [source_file: expected0]
EXPR_RESULT 14 [source_file: expected0]
CALL 14 [free_call: 1] [source_file: expected0]
NAME JSCompiler_StaticMethods_foo 14 [source_file: expected0]
NAME o 14 [source_file: expected0]
EXPR_RESULT 15 [source_file: expected0]
CALL 15 [free_call: 1] [source_file: expected0]
NAME JSCompiler_StaticMethods_bar 15 [source_file: expected0]
NAME o 15 [source_file: expected0]
NUMBER 2.0 15 [source_file: expected0]
EXPR_RESULT 16 [source_file: expected0]
CALL 16 [free_call: 1] [source_file: expected0]
NAME JSCompiler_StaticMethods_baz 16 [source_file: expected0]
NAME o 16 [source_file: expected0]
JSDoc differs on subtree: FUNCTION a 1 [source_file: expected0]
Expected JSDoc: (none)
Actual JSDoc : JSDocInfo{bitset=2, visibility=INHERITED}
junit.framework.AssertionFailedError: Expected: function a(){this.x=3}var JSCompiler_StaticMethods_foo=function(JSCompiler_StaticMethods_foo$self){return JSCompiler_StaticMethods_foo$self.x};var JSCompiler_StaticMethods_bar=function(JSCompiler_StaticMethods_bar$self,p){return JSCompiler_StaticMethods_bar$self.x};var JSCompiler_StaticMethods_baz=function(JSCompiler_StaticMethods_baz$self){};var o=new a;JSCompiler_StaticMethods_foo(o);JSCompiler_StaticMethods_bar(o,2);JSCompiler_StaticMethods_baz(o) Result: function a(){this.x=3}var JSCompiler_StaticMethods_foo=function(JSCompiler_StaticMethods_foo$self){return JSCompiler_StaticMethods_foo$self.x};var JSCompiler_StaticMethods_bar=function(JSCompiler_StaticMethods_bar$self,p){return JSCompiler_StaticMethods_bar$self.x};var JSCompiler_StaticMethods_baz=function(JSCompiler_StaticMethods_baz$self){};var o=new a;JSCompiler_StaticMethods_foo(o);JSCompiler_StaticMethods_bar(o,2);JSCompiler_StaticMethods_baz(o) Node tree inequality: Tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] FUNCTION a 1 [source_file: expected0] NAME a 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING x 1 [source_file: expected0] NUMBER 3.0 1 [source_file: expected0] VAR 2 [source_file: expected0] NAME JSCompiler_StaticMethods_foo 2 [source_file: expected0] FUNCTION 3 [source_file: expected0] NAME 3 [source_file: expected0] PARAM_LIST 3 [source_file: expected0] NAME JSCompiler_StaticMethods_foo$self 3 [source_file: expected0] BLOCK 3 [source_file: expected0] RETURN 4 [source_file: expected0] GETPROP 4 [source_file: expected0] NAME JSCompiler_StaticMethods_foo$self 4 [source_file: expected0] STRING x 4 [source_file: expected0] VAR 6 [source_file: expected0] NAME JSCompiler_StaticMethods_bar 6 [source_file: expected0] FUNCTION 7 [source_file: expected0] NAME 7 [source_file: expected0] PARAM_LIST 7 [source_file: expected0] NAME JSCompiler_StaticMethods_bar$self 7 [source_file: expected0] NAME p 7 [source_file: expected0] BLOCK 7 [source_file: expected0] RETURN 8 [source_file: expected0] GETPROP 8 [source_file: expected0] NAME JSCompiler_StaticMethods_bar$self 8 [source_file: expected0] STRING x 8 [source_file: expected0] VAR 10 [source_file: expected0] NAME JSCompiler_StaticMethods_baz 10 [source_file: expected0] FUNCTION 11 [source_file: expected0] NAME 11 [source_file: expected0] PARAM_LIST 11 [source_file: expected0] NAME JSCompiler_StaticMethods_baz$self 11 [source_file: expected0] BLOCK 11 [source_file: expected0] VAR 13 [source_file: expected0] NAME o 13 [source_file: expected0] NEW 13 [source_file: expected0] NAME a 13 [source_file: expected0] EXPR_RESULT 14 [source_file: expected0] CALL 14 [free_call: 1] [source_file: expected0] NAME JSCompiler_StaticMethods_foo 14 [source_file: expected0] NAME o 14 [source_file: expected0] EXPR_RESULT 15 [source_file: expected0] CALL 15 [free_call: 1] [source_file: expected0] NAME JSCompiler_StaticMethods_bar 15 [source_file: expected0] NAME o 15 [source_file: expected0] NUMBER 2.0 15 [source_file: expected0] EXPR_RESULT 16 [source_file: expected0] CALL 16 [free_call: 1] [source_file: expected0] NAME JSCompiler_StaticMethods_baz 16 [source_file: expected0] NAME o 16 [source_file: expected0]
JSDoc differs on subtree: FUNCTION a 1 [source_file: expected0] Expected JSDoc: (none) Actual JSDoc : JSDocInfo{bitset=2, visibility=INHERITED} at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.DevirtualizePrototypeMethodsTest.checkTypes(DevirtualizePrototypeMethodsTest.java:641) at com.google.javascript.jscomp.DevirtualizePrototypeMethodsTest.testRewritePrototypeMethods2(DevirtualizePrototypeMethodsTest.java:144)
| 0.006 |
| DevirtualizePrototypeMethodsTest | testRewriteChained | Success | | 0.001 |
| DevirtualizePrototypeMethodsTest | testRewriteDeclIsExpressionStatement | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteDeclUsedAsAssignmentRhs | Success | | 0.001 |
| DevirtualizePrototypeMethodsTest | testNoRewriteDeclUsedAsCallArgument | Success | | 0.001 |
| DevirtualizePrototypeMethodsTest | testRewriteInGlobalScope | Success | | 0.003 |
| DevirtualizePrototypeMethodsTest | testNoRewriteIfNotInGlobalScope1 | Success | | 0.003 |
| DevirtualizePrototypeMethodsTest | testNoRewriteIfNotInGlobalScope2 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteNamespaceFunctions | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testRewriteSingleDefinition1 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testRewriteSingleDefinition2 | Success | | 0.001 |
| DevirtualizePrototypeMethodsTest | testNoRewriteMultipleDefinition1 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteMultipleDefinition2 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteMultipleDefinition3 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testRewritePrototypeNoObjectLiterals | Success | | 0.001 |
| DevirtualizePrototypeMethodsTest | testRewritePrototypeObjectLiterals1 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewritePrototypeObjectLiterals2 | Success | | 0.003 |
| DevirtualizePrototypeMethodsTest | testNoRewriteExternalMethods1 | Success | | 0.001 |
| DevirtualizePrototypeMethodsTest | testNoRewriteExternalMethods2 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteCodingConvention | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testRewriteNoVarArgs | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteVarArgs | Success | | 0.001 |
| DevirtualizePrototypeMethodsTest | testRewriteCallReference | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteNoReferences | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteNonCallReference | Success | | 0.003 |
| DevirtualizePrototypeMethodsTest | testRewriteNoNestedFunction | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteNestedFunction | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testRewriteImplementedMethod | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testRewriteImplementedMethod2 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testRewriteImplementedMethod3 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testRewriteImplementedMethod4 | Success | | 0.001 |
| DevirtualizePrototypeMethodsTest | testRewriteImplementedMethod5 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testRewriteImplementedMethodInObj | Success | | 0.003 |
| DevirtualizePrototypeMethodsTest | testNoRewriteGet1 | Success | | 0.001 |
| DevirtualizePrototypeMethodsTest | testNoRewriteGet2 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteSet1 | Success | | 0.003 |
| DevirtualizePrototypeMethodsTest | testNoRewriteSet2 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteNotImplementedMethod | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testWrapper | Success | | 0.001 |
| DevirtualizePrototypeMethodsTest | testRewriteSameModule1 | Success | | 0.003 |
| DevirtualizePrototypeMethodsTest | testRewriteSameModule2 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testRewriteSameModule3 | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testRewriteDefinitionBeforeUse | Success | | 0.002 |
| DevirtualizePrototypeMethodsTest | testNoRewriteUseBeforeDefinition | Success | | 0.001 |
| DiagnosticGroupTest | testRegistration | Success | | 0.000 |
| DisambiguatePrivatePropertiesTest | testNoRenaming1 | Success | | 0.025 |
| DisambiguatePrivatePropertiesTest | testRenaming1 | Success | | 0.011 |
| DisambiguatePrivatePropertiesTest | testNoRenameIndirectProps | Success | | 0.006 |
| DisambiguatePropertiesTest | testOneType3 | Success | | 0.017 |
| DisambiguatePropertiesTest | testOneType1 | Success | | 0.003 |
| DisambiguatePropertiesTest | testOneType2 | Success | | 0.003 |
| DisambiguatePropertiesTest | testOneType4 | Success | | 0.003 |
| DisambiguatePropertiesTest | testPrototypeAndInstance1 | Success | | 0.004 |
| DisambiguatePropertiesTest | testPrototypeAndInstance2 | Success | | 0.006 |
| DisambiguatePropertiesTest | testPrototypeAndInstance3 | Success | | 0.003 |
| DisambiguatePropertiesTest | testPrototypeAndInstance4 | Success | | 0.004 |
| DisambiguatePropertiesTest | testTwoTypes1 | Success | | 0.003 |
| DisambiguatePropertiesTest | testTwoTypes2 | Success | | 0.007 |
| DisambiguatePropertiesTest | testTwoTypes3 | Success | | 0.005 |
| DisambiguatePropertiesTest | testTwoTypes4 | Success | | 0.003 |
| DisambiguatePropertiesTest | testTwoTypes5 | Success | | 0.004 |
| DisambiguatePropertiesTest | testTwoFields | Success | | 0.004 |
| DisambiguatePropertiesTest | testTwoSeparateFieldsTwoTypes | Success | | 0.005 |
| DisambiguatePropertiesTest | testUnionType | Success | | 0.004 |
| DisambiguatePropertiesTest | testIgnoreUnknownType | Success | | 0.005 |
| DisambiguatePropertiesTest | testIgnoreUnknownType1 | Success | | 0.004 |
| DisambiguatePropertiesTest | testIgnoreUnknownType2 | Success | | 0.004 |
| DisambiguatePropertiesTest | testUnionTypeTwoFields | Success | | 0.006 |
| DisambiguatePropertiesTest | testCast | Success | | 0.004 |
| DisambiguatePropertiesTest | testConstructorFields | Success | | 0.003 |
| DisambiguatePropertiesTest | testStaticProperty | Success | | 0.004 |
| DisambiguatePropertiesTest | testSupertypeWithSameField | Success | | 0.005 |
| DisambiguatePropertiesTest | testScopedType | Success | | 0.002 |
| DisambiguatePropertiesTest | testUnresolvedType | Success | | 0.007 |
| DisambiguatePropertiesTest | testUnknownType | Success | | 0.005 |
| DisambiguatePropertiesTest | testEnumOfObjects | Success | | 0.004 |
| DisambiguatePropertiesTest | testUntypedExterns | Success | | 0.007 |
| DisambiguatePropertiesTest | testUnionTypeInvalidation | Success | | 0.005 |
| DisambiguatePropertiesTest | testUnionAndExternTypes | Success | | 0.004 |
| DisambiguatePropertiesTest | testTypedExterns | Success | | 0.004 |
| DisambiguatePropertiesTest | testSubtypesWithSameField | Success | | 0.003 |
| DisambiguatePropertiesTest | testSupertypeReferenceOfSubtypeProperty | Success | | 0.004 |
| DisambiguatePropertiesTest | testObjectLiteralNotRenamed | Success | | 0.002 |
| DisambiguatePropertiesTest | testObjectLiteralReflected | Success | | 0.004 |
| DisambiguatePropertiesTest | testObjectLiteralLends | Success | | 0.004 |
| DisambiguatePropertiesTest | testClosureInherits | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 13 : 0
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 18 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 13 : 0 JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 18 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.DisambiguatePropertiesTest.testSets(DisambiguatePropertiesTest.java:1297) at com.google.javascript.jscomp.DisambiguatePropertiesTest.testClosureInherits(DisambiguatePropertiesTest.java:902)
| 0.005 |
| DisambiguatePropertiesTest | testSkipNativeFunctionMethod | Success | | 0.004 |
| DisambiguatePropertiesTest | testSkipNativeObjectMethod | Success | | 0.002 |
| DisambiguatePropertiesTest | testExtendNativeType | Success | | 0.003 |
| DisambiguatePropertiesTest | testStringFunction | Success | | 0.003 |
| DisambiguatePropertiesTest | testUnusedTypeInExterns | Success | | 0.003 |
| DisambiguatePropertiesTest | testInterface | Success | | 0.003 |
| DisambiguatePropertiesTest | testInterfaceOfSuperclass | Success | | 0.003 |
| DisambiguatePropertiesTest | testTwoInterfacesWithSomeInheritance | Success | | 0.004 |
| DisambiguatePropertiesTest | testInvalidatingInterface | Success | | 0.004 |
| DisambiguatePropertiesTest | testMultipleInterfaces | Success | | 0.004 |
| DisambiguatePropertiesTest | testInterfaceWithSupertypeImplementor | Success | | 0.003 |
| DisambiguatePropertiesTest | testSuperInterface | Success | | 0.005 |
| DisambiguatePropertiesTest | testInterfaceUnionWithCtor | Success | | 0.005 |
| DisambiguatePropertiesTest | testExternInterfaceUnionWithCtor | Success | | 0.005 |
| DisambiguatePropertiesTest | testMismatchInvalidation | Success | | 0.003 |
| DisambiguatePropertiesTest | testBadCast | Success | | 0.004 |
| DisambiguatePropertiesTest | testDeterministicNaming | Success | | 0.021 |
| DisambiguatePropertiesTest | testObjectLiteral | Success | | 0.003 |
| DisambiguatePropertiesTest | testCustomInherits | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 9 : 2 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 9 : 2 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:489) at com.google.javascript.jscomp.DisambiguatePropertiesTest.testSets(DisambiguatePropertiesTest.java:1284) at com.google.javascript.jscomp.DisambiguatePropertiesTest.testSets(DisambiguatePropertiesTest.java:1279) at com.google.javascript.jscomp.DisambiguatePropertiesTest.testCustomInherits(DisambiguatePropertiesTest.java:1202)
| 0.004 |
| DisambiguatePropertiesTest | testSkipNativeFunctionStaticProperty | Success | | 0.003 |
| DisambiguatePropertiesTest | testErrorOnProtectedProperty | Success | | 0.002 |
| DisambiguatePropertiesTest | testMismatchForbiddenInvalidation | Success | | 0.003 |
| DisambiguatePropertiesTest | testUnionTypeInvalidationError | Success | | 0.004 |
| DisambiguatePropertiesTest | testEnumOfObjects2 | Success | | 0.005 |
| DisambiguatePropertiesTest | testEnumOfObjects3 | Success | | 0.005 |
| DisambiguatePropertiesTest | testEnum | Success | | 0.004 |
| DisambiguatePropertiesTest | testNamedType | Success | | 0.003 |
| DotFormatterTest | testKeyAssignementOncePerNode | Success | | 0.001 |
| DotFormatterTest | testToDot3Elements | Success | | 0.000 |
| DotFormatterTest | testKeyAssignementSequential | Success | | 0.000 |
| DotFormatterTest | testToDotSimple | Success | | 0.000 |
| ES6ModuleLoaderFileSystemTest | testFileSystem | Success | | 0.017 |
| ES6ModuleLoaderTest | testWindowsAddresses | Success | | 0.001 |
| Es6InlineTypesNotYetParsedTest | testFunctionType | Success | | 0.002 |
| Es6InlineTypesNotYetParsedTest | testArrayType | Success | | 0.001 |
| Es6InlineTypesNotYetParsedTest | testParameterizedType | Success | | 0.002 |
| Es6InlineTypesNotYetParsedTest | testParameterizedTypeWithVoid | Success | | 0.001 |
| Es6InlineTypesNotYetParsedTest | testOptionalParameterTypeWithUndefined | Success | | 0.001 |
| Es6InlineTypesNotYetParsedTest | testNullType | Success | | 0.000 |
| Es6InlineTypesNotYetParsedTest | testUntypedVarargs | Success | | 0.000 |
| Es6InlineTypesNotYetParsedTest | testAnyTypeVarargsParam | Success | | 0.000 |
| Es6InlineTypesNotYetParsedTest | testUnionWithUndefined | Success | | 0.001 |
| Es6InlineTypesNotYetParsedTest | testUnionWithNullAndUndefined | Success | | 0.000 |
| Es6InlineTypesNotYetParsedTest | testTypeUnion | Success | | 0.001 |
| Es6InlineTypesNotYetParsedTest | testRecordType | Success | | 0.001 |
| Es6InlineTypesTest | testVariableDeclaration | Success | | 0.002 |
| Es6InlineTypesTest | testUnknownType | Success | | 0.002 |
| Es6InlineTypesTest | testNestedFunctions | Success | | 0.002 |
| Es6InlineTypesTest | testVariableDeclarationWithoutDeclaredType | Success | | 0.002 |
| Es6InlineTypesTest | testFunctionReturnType | Success | | 0.003 |
| Es6InlineTypesTest | testFunctionParameterTypes | Success | | 0.003 |
| Es6InlineTypesTest | testFunctionInsideAssignment | Success | | 0.003 |
| Es6InlineTypesTest | testUndefinedType | Success | | 0.003 |
| Es6RenameVariablesInParamListsTest | testRenameVar | Success | | 0.025 |
| Es6RenameVariablesInParamListsTest | testRenameFunction | Success | | 0.003 |
| Es6RenameVariablesInParamListsTest | testGlobalDeclaration | Success | | 0.012 |
| Es6RenameVariablesInParamListsTest | testMultipleDefaultParams | Success | | 0.006 |
| Es6RenameVariablesInParamListsTest | testArrow | Success | | 0.006 |
| Es6RewriteGeneratorsTest | testSimpleGenerator | Success | | 0.029 |
| Es6RewriteGeneratorsTest | testReturnGenerator | Success | | 0.005 |
| Es6RewriteGeneratorsTest | testNestedGenerator | Success | | 0.006 |
| Es6RewriteGeneratorsTest | testForLoopsGenerator | Success | | 0.015 |
| Es6RewriteGeneratorsTest | testWhileLoopsGenerator | Success | | 0.010 |
| Es6RewriteGeneratorsTest | testUndecomposableExpression | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected.
Node(YIELD): [source unknown]
Parent: NULL
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected. Node(YIELD): [source unknown] Parent: NULL at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.Es6RewriteGenerators$DecomposeYields.visitYieldExpression(Es6RewriteGenerators.java:1003) at com.google.javascript.jscomp.Es6RewriteGenerators$DecomposeYields.shouldTraverse(Es6RewriteGenerators.java:979) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBlockScope(NodeTraversal.java:619) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:564) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.Es6RewriteGenerators.process(Es6RewriteGenerators.java:114) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.Es6RewriteGeneratorsTest.testUndecomposableExpression(Es6RewriteGeneratorsTest.java:452) Caused by: java.lang.IllegalStateException: Unexpected.
| 0.005 |
| Es6RewriteGeneratorsTest | testGeneratorCannotConvertYet | Success | | 0.007 |
| Es6RewriteGeneratorsTest | testThrowGenerator | Success | | 0.004 |
| Es6RewriteGeneratorsTest | testLabelsGenerator | Success | | 0.009 |
| Es6RewriteGeneratorsTest | testIfGenerator | Success | | 0.010 |
| Es6RewriteGeneratorsTest | testGeneratorReturn | Success | | 0.004 |
| Es6RewriteGeneratorsTest | testGeneratorBreakContinue | Success | | 0.014 |
| Es6RewriteGeneratorsTest | testDoWhileLoopsGenerator | Success | | 0.004 |
| Es6RewriteGeneratorsTest | testYieldNoValue | Success | | 0.004 |
| Es6RewriteGeneratorsTest | testReturnNoValue | Success | | 0.005 |
| Es6RewriteGeneratorsTest | testYieldExpression | Success | | 0.005 |
| Es6RewriteGeneratorsTest | testFunctionInGenerator | Success | | 0.004 |
| Es6RewriteGeneratorsTest | testYieldAll | Success | | 0.007 |
| Es6RewriteGeneratorsTest | testYieldArguments | Success | | 0.004 |
| Es6RewriteGeneratorsTest | testYieldThis | Success | | 0.005 |
| Es6RewriteGeneratorsTest | testGeneratorShortCircuit | Success | | 0.013 |
| Es6RewriteGeneratorsTest | testYieldSwitch | Success | | 0.007 |
| Es6RewriteGeneratorsTest | testGeneratorNoTranslate | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateIf(AstValidator.java:823) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:125) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.Es6RewriteGeneratorsTest.testGeneratorNoTranslate(Es6RewriteGeneratorsTest.java:1323)
| 0.002 |
| Es6RewriteGeneratorsTest | testGeneratorForIn | Success | | 0.006 |
| Es6RewriteGeneratorsTest | testGeneratorTryCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
YIELD 1
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] YIELD 1 NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.Es6RewriteGeneratorsTest.testGeneratorTryCatch(Es6RewriteGeneratorsTest.java:1415)
| 0.002 |
| Es6RewriteGeneratorsTest | testGeneratorFinally | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
YIELD 1
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME b 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] YIELD 1 NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME b 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.Es6RewriteGeneratorsTest.testGeneratorFinally(Es6RewriteGeneratorsTest.java:1472)
| 0.002 |
| Es6RewriteLetConstTest | testSimple | Success | | 0.014 |
| Es6RewriteLetConstTest | testLetShadowing | Success | | 0.015 |
| Es6RewriteLetConstTest | testNonUniqueLet | Success | | 0.004 |
| Es6RewriteLetConstTest | testForOfLoop | Success | | 0.002 |
| Es6RewriteLetConstTest | testForLoop | Success | | 0.012 |
| Es6RewriteLetConstTest | testLoopClosure | Success | | 0.029 |
| Es6RewriteLetConstTest | testLoopClosureCommaInBody | Success | | 0.004 |
| Es6RewriteLetConstTest | testLoopClosureCommaInIncrement | Success | | 0.005 |
| Es6RewriteLetConstTest | testLoopClosureCommaInInitializerAndIncrement | Success | | 0.008 |
| Es6RewriteLetConstTest | testLoopClosureMutated | Success | | 0.008 |
| Es6RewriteLetConstTest | testNestedLoop | Success | | 0.011 |
| Es6RewriteLetConstTest | testForInAndForOf | Success | | 0.012 |
| Es6RewriteLetConstTest | testDoWhileForOfCapturedLet | Success | | 0.005 |
| Es6RewriteLetConstTest | testDoWhileForOfCapturedLetAnnotated | Success | | 0.006 |
| Es6RewriteLetConstTest | testLetForInitializers | Success | | 0.006 |
| Es6RewriteLetConstTest | testBlockScopedFunctionDeclaration | Success | | 0.004 |
| Es6SyntacticScopeCreatorTest | testArrayDestructuringVarInBlock | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testObjectDestructuring | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testObjectDestructuring2 | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testObjectDestructuringComputedProp | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testObjectDestructuringComputedPropParam | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testObjectDestructuringNested | Success | | 0.000 |
| Es6SyntacticScopeCreatorTest | testObjectDestructuringWithInitializer | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testFunctionScope | Success | | 0.000 |
| Es6SyntacticScopeCreatorTest | testArrayDestructuringWithName | Success | | 0.000 |
| Es6SyntacticScopeCreatorTest | testArrayDestructuringLet | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testArrayDestructuring | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testNestedArrayDestructuring | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testClassScope | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testScopeRootNode | Success | | 0.000 |
| Es6SyntacticScopeCreatorTest | testBlockScopeWithVar | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testBlockScopeWithLet | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testForLoopScope | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testForOfLoopScope | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testFunctionArgument | Success | | 0.000 |
| Es6SyntacticScopeCreatorTest | testTheArgumentsVariable | Success | | 0.000 |
| Es6SyntacticScopeCreatorTest | testIsFunctionBlockScoped | Success | | 0.000 |
| Es6SyntacticScopeCreatorTest | testIsClassBlockScoped | Success | | 0.000 |
| Es6SyntacticScopeCreatorTest | testIsCatchBlockScoped | Success | | 0.001 |
| Es6SyntacticScopeCreatorTest | testVarAfterLet | Success | | 0.001 |
| Es6ToEs3ConverterTest | testForOf | Success | | 0.016 |
| Es6ToEs3ConverterTest | testComputedProperties | Success | | 0.049 |
| Es6ToEs3ConverterTest | testDefaultParameters | Success | | 0.020 |
| Es6ToEs3ConverterTest | testArrowFunction | Success | | 0.048 |
| Es6ToEs3ConverterTest | testExtends | Success | | 0.018 |
| Es6ToEs3ConverterTest | testExtendsInterface | Success | | 0.006 |
| Es6ToEs3ConverterTest | testObjectDestructuring | Success | | 0.005 |
| Es6ToEs3ConverterTest | testObjectDestructuringNested | Success | | 0.002 |
| Es6ToEs3ConverterTest | testObjectDestructuringWithInitializer | Success | | 0.004 |
| Es6ToEs3ConverterTest | testObjectLiteralStringKeysWithNoValue | Success | | 0.002 |
| Es6ToEs3ConverterTest | testClassGenerator | Success | | 0.004 |
| Es6ToEs3ConverterTest | testClassStatement | Success | | 0.035 |
| Es6ToEs3ConverterTest | testArrayDestructuring | Success | | 0.016 |
| Es6ToEs3ConverterTest | testAnonymousSuper | Success | | 0.002 |
| Es6ToEs3ConverterTest | testClassWithJsDoc | Success | | 0.011 |
| Es6ToEs3ConverterTest | testInterfaceWithJsDoc | Success | | 0.010 |
| Es6ToEs3ConverterTest | testCtorWithJsDoc | Success | | 0.005 |
| Es6ToEs3ConverterTest | testMemberWithJsDoc | Success | | 0.012 |
| Es6ToEs3ConverterTest | testClassStatementInsideIf | Success | | 0.008 |
| Es6ToEs3ConverterTest | testClassExpressionInVar | Success | | 0.015 |
| Es6ToEs3ConverterTest | testClassExpressionInAssignment | Success | | 0.005 |
| Es6ToEs3ConverterTest | testClassExpression | Success | | 0.007 |
| Es6ToEs3ConverterTest | testInvalidExtends | Success | | 0.006 |
| Es6ToEs3ConverterTest | testImplementsInterface | Success | | 0.007 |
| Es6ToEs3ConverterTest | testSuperCall | Success | | 0.030 |
| Es6ToEs3ConverterTest | testMultiNameClass | Success | | 0.007 |
| Es6ToEs3ConverterTest | testClassNested | Success | | 0.008 |
| Es6ToEs3ConverterTest | testSuperGet | Success | | 0.016 |
| Es6ToEs3ConverterTest | testSuperNew | Success | | 0.005 |
| Es6ToEs3ConverterTest | testSuperSpread | Success | | 0.006 |
| Es6ToEs3ConverterTest | testSuperCallNonConstructor | Success | | 0.010 |
| Es6ToEs3ConverterTest | testStaticThis | Success | | 0.003 |
| Es6ToEs3ConverterTest | testStaticMethods | Success | | 0.008 |
| Es6ToEs3ConverterTest | testStaticInheritance | Success | | 0.012 |
| Es6ToEs3ConverterTest | testMockingInFunction | Success | | 0.003 |
| Es6ToEs3ConverterTest | testGithub752 | Success | | 0.004 |
| Es6ToEs3ConverterTest | testArrowInClass | Success | | 0.006 |
| Es6ToEs3ConverterTest | testInvalidClassUse | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 4 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 4 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:489) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:466) at com.google.javascript.jscomp.Es6ToEs3ConverterTest.testInvalidClassUse(Es6ToEs3ConverterTest.java:811)
| 0.009 |
| Es6ToEs3ConverterTest | testClassGetterSetter | Success | | 0.005 |
| Es6ToEs3ConverterTest | testEs5GettersAndSetters_es3 | Success | | 0.003 |
| Es6ToEs3ConverterTest | testEs5GettersAndSetters_es5 | Success | | 0.006 |
| Es6ToEs3ConverterTest | testMultipleArrowsInSameScope | Success | | 0.019 |
| Es6ToEs3ConverterTest | testArrowNestedScope | Success | | 0.009 |
| Es6ToEs3ConverterTest | testArrowception | Success | | 0.003 |
| Es6ToEs3ConverterTest | testArrowceptionWithThis | Success | | 0.004 |
| Es6ToEs3ConverterTest | testRestParameter | Success | | 0.009 |
| Es6ToEs3ConverterTest | testDefaultAndRestParameters | Success | | 0.004 |
| Es6ToEs3ConverterTest | testDestructuringForOf | Success | | 0.005 |
| Es6ToEs3ConverterTest | testSpreadArray | Success | | 0.024 |
| Es6ToEs3ConverterTest | testSpreadCall | Failure | There should be one warning, repeated 1 time(s). Warnings: [JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 7 : 0, JSC_INEXISTENT_PROPERTY. Property m never defined on C at testcode line 7 : 17] expected:<1> but was:<2>
junit.framework.AssertionFailedError: There should be one warning, repeated 1 time(s). Warnings: [JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 7 : 0, JSC_INEXISTENT_PROPERTY. Property m never defined on C at testcode line 7 : 17] expected:<1> but was:<2> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1098) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:489) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:466) at com.google.javascript.jscomp.Es6ToEs3ConverterTest.testSpreadCall(Es6ToEs3ConverterTest.java:1252)
| 0.047 |
| Es6ToEs3ConverterTest | testArrowFunctionInObject | Success | | 0.003 |
| Es6ToEs3ConverterTest | testMethodInObject | Success | | 0.009 |
| Es6ToEs3ConverterTest | testComputedPropertiesWithMethod | Success | | 0.005 |
| Es6ToEs3ConverterTest | testComputedPropGetterSetter | Success | | 0.013 |
| Es6ToEs3ConverterTest | testComputedPropClass | Success | | 0.007 |
| Es6ToEs3ConverterTest | testComputedPropGeneratorMethods | Success | | 0.008 |
| Es6ToEs3ConverterTest | testBlockScopedGeneratorFunction | Success | | 0.003 |
| Es6ToEs3ConverterTest | testComputedPropCannotConvert | Success | | 0.004 |
| Es6ToEs3ConverterTest | testNoComputedProperties | Success | | 0.004 |
| Es6ToEs3ConverterTest | testArrayDestructuringDefaultValues | Success | | 0.014 |
| Es6ToEs3ConverterTest | testArrayDestructuringParam | Success | | 0.008 |
| Es6ToEs3ConverterTest | testArrayDestructuringRest | Success | | 0.006 |
| Es6ToEs3ConverterTest | testObjectDestructuringComputedProps | Success | | 0.009 |
| Es6ToEs3ConverterTest | testObjectDestructuringStrangeProperties | Success | | 0.009 |
| Es6ToEs3ConverterTest | testObjectDestructuringFunction | Success | | 0.021 |
| Es6ToEs3ConverterTest | testMixedDestructuring | Success | | 0.005 |
| Es6ToEs3ConverterTest | testUntaggedTemplateLiteral | Error | -1
java.lang.ArrayIndexOutOfBoundsException: -1 at com.google.javascript.jscomp.parsing.parser.LineNumberTable.offsetOfLine(LineNumberTable.java:93) at com.google.javascript.jscomp.parsing.parser.LineNumberTable.getColumn(LineNumberTable.java:97) at com.google.javascript.jscomp.parsing.parser.LineNumberTable.getSourcePosition(LineNumberTable.java:80) at com.google.javascript.jscomp.parsing.parser.LineNumberTable.getSourceRange(LineNumberTable.java:101) at com.google.javascript.jscomp.parsing.parser.Scanner.getTokenRange(Scanner.java:80) at com.google.javascript.jscomp.parsing.parser.Scanner.nextTemplateLiteralTokenShared(Scanner.java:793) at com.google.javascript.jscomp.parsing.parser.Scanner.scanTemplateLiteral(Scanner.java:777) at com.google.javascript.jscomp.parsing.parser.Scanner.scanToken(Scanner.java:567) at com.google.javascript.jscomp.parsing.parser.Scanner.peekToken(Scanner.java:228) at com.google.javascript.jscomp.parsing.parser.Parser.peekToken(Parser.java:2879) at com.google.javascript.jscomp.parsing.parser.Parser.peekToken(Parser.java:2872) at com.google.javascript.jscomp.parsing.parser.Parser.getTreeStartLocation(Parser.java:2791) at com.google.javascript.jscomp.parsing.parser.Parser.parseProgram(Parser.java:150) at com.google.javascript.jscomp.parsing.ParserRunner.parse(ParserRunner.java:102) at com.google.javascript.jscomp.JsAst.parse(JsAst.java:84) at com.google.javascript.jscomp.JsAst.getAstRoot(JsAst.java:50) at com.google.javascript.jscomp.CompilerInput.getAstRoot(CompilerInput.java:114) at com.google.javascript.jscomp.Compiler.processEs6Modules(Compiler.java:1515) at com.google.javascript.jscomp.Compiler.parseInputs(Compiler.java:1349) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:959) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.Es6ToEs3ConverterTest.testUntaggedTemplateLiteral(Es6ToEs3ConverterTest.java:1710)
| 0.002 |
| Es6ToEs3ConverterTest | testTaggedTemplateLiteral | Success | | 0.029 |
| Es6TypedIntegrationTest | testBasicTypeCheck | Error | N/A
java.lang.IllegalStateException at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.DefaultPassConfig.assertAllOneTimePasses(DefaultPassConfig.java:901) at com.google.javascript.jscomp.DefaultPassConfig.getChecks(DefaultPassConfig.java:421) at com.google.javascript.jscomp.Compiler.check(Compiler.java:843) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
| 0.002 |
| Es6TypedIntegrationTest | testBasicTypeCheck_error | Error | N/A
java.lang.IllegalStateException at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.DefaultPassConfig.assertAllOneTimePasses(DefaultPassConfig.java:901) at com.google.javascript.jscomp.DefaultPassConfig.getChecks(DefaultPassConfig.java:421) at com.google.javascript.jscomp.Compiler.check(Compiler.java:843) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
| 0.002 |
| Es6TypedIntegrationTest | testFunctionType_correct | Error | N/A
java.lang.IllegalStateException at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.DefaultPassConfig.assertAllOneTimePasses(DefaultPassConfig.java:901) at com.google.javascript.jscomp.DefaultPassConfig.getChecks(DefaultPassConfig.java:421) at com.google.javascript.jscomp.Compiler.check(Compiler.java:843) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
| 0.001 |
| Es6TypedIntegrationTest | testFunctionType_error | Error | N/A
java.lang.IllegalStateException at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.DefaultPassConfig.assertAllOneTimePasses(DefaultPassConfig.java:901) at com.google.javascript.jscomp.DefaultPassConfig.getChecks(DefaultPassConfig.java:421) at com.google.javascript.jscomp.Compiler.check(Compiler.java:843) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
| 0.001 |
| Es6TypedIntegrationTest | testFunctionParameter | Error | N/A
java.lang.IllegalStateException at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.DefaultPassConfig.assertAllOneTimePasses(DefaultPassConfig.java:901) at com.google.javascript.jscomp.DefaultPassConfig.getChecks(DefaultPassConfig.java:421) at com.google.javascript.jscomp.Compiler.check(Compiler.java:843) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
| 0.001 |
| Es6TypedIntegrationTest | testFunctionParameter_error | Error | N/A
java.lang.IllegalStateException at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.DefaultPassConfig.assertAllOneTimePasses(DefaultPassConfig.java:901) at com.google.javascript.jscomp.DefaultPassConfig.getChecks(DefaultPassConfig.java:421) at com.google.javascript.jscomp.Compiler.check(Compiler.java:843) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
| 0.002 |
| Es6TypedIntegrationTest | testClassMemberVariable | Error | N/A
java.lang.IllegalStateException at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.DefaultPassConfig.assertAllOneTimePasses(DefaultPassConfig.java:901) at com.google.javascript.jscomp.DefaultPassConfig.getChecks(DefaultPassConfig.java:421) at com.google.javascript.jscomp.Compiler.check(Compiler.java:843) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
| 0.004 |
| Es6TypedIntegrationTest | testClassMemberVariable_static | Error | N/A
java.lang.IllegalStateException at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.DefaultPassConfig.assertAllOneTimePasses(DefaultPassConfig.java:901) at com.google.javascript.jscomp.DefaultPassConfig.getChecks(DefaultPassConfig.java:421) at com.google.javascript.jscomp.Compiler.check(Compiler.java:843) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
| 0.003 |
| Es6TypedToEs6ConverterTest | testMemberVariable_noCtor | Success | | 0.005 |
| Es6TypedToEs6ConverterTest | testMemberVariable_static | Success | | 0.003 |
| Es6TypedToEs6ConverterTest | testMemberVariable_unsupportedClassExpression | Success | | 0.001 |
| Es6TypedToEs6ConverterTest | testComputedPropertyVariable | Success | | 0.002 |
| Es6TypedToEs6ConverterTest | testComputedPropertyVariable_static | Success | | 0.003 |
| Es6TypedToEs6ConverterTest | testMemberVariable | Success | | 0.003 |
| Es6VariableReferenceCheckTest | testArrowFunction | Success | | 0.011 |
| Es6VariableReferenceCheckTest | testTryCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 2 [source_file: testcode]
BLOCK 2 [source_file: testcode]
LET 3 [source_file: testcode]
NAME e 3 [source_file: testcode]
NUMBER 0.0 3 [source_file: testcode]
IF 4 [source_file: testcode]
TRUE 4 [source_file: testcode]
BLOCK 4 [source_file: testcode]
LET 5 [source_file: testcode]
NAME e 5 [source_file: testcode]
NUMBER 1.0 5 [source_file: testcode]
BLOCK 7 [source_file: testcode]
CATCH 7 [source_file: testcode]
NAME e 7 [source_file: testcode]
BLOCK 7 [source_file: testcode]
LET 8 [source_file: testcode]
NAME e 8 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 2 [source_file: testcode] BLOCK 2 [source_file: testcode] LET 3 [source_file: testcode] NAME e 3 [source_file: testcode] NUMBER 0.0 3 [source_file: testcode] IF 4 [source_file: testcode] TRUE 4 [source_file: testcode] BLOCK 4 [source_file: testcode] LET 5 [source_file: testcode] NAME e 5 [source_file: testcode] NUMBER 1.0 5 [source_file: testcode] BLOCK 7 [source_file: testcode] CATCH 7 [source_file: testcode] NAME e 7 [source_file: testcode] BLOCK 7 [source_file: testcode] LET 8 [source_file: testcode] NAME e 8 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.Es6VariableReferenceCheckTest.assertRedeclareError(Es6VariableReferenceCheckTest.java:430) at com.google.javascript.jscomp.Es6VariableReferenceCheckTest.testTryCatch(Es6VariableReferenceCheckTest.java:304)
| 0.002 |
| Es6VariableReferenceCheckTest | testClass | Success | | 0.003 |
| Es6VariableReferenceCheckTest | testCorrectCode | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LET 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LET 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LET 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LET 1 [source_file: testcode] NAME x 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.Es6VariableReferenceCheckTest.assertNoWarning(Es6VariableReferenceCheckTest.java:458) at com.google.javascript.jscomp.Es6VariableReferenceCheckTest.testCorrectCode(Es6VariableReferenceCheckTest.java:70)
| 0.032 |
| Es6VariableReferenceCheckTest | testUndeclaredLet | Success | | 0.009 |
| Es6VariableReferenceCheckTest | testUndeclaredConst | Success | | 0.014 |
| Es6VariableReferenceCheckTest | testIllegalLetShadowing | Success | | 0.047 |
| Es6VariableReferenceCheckTest | testDuplicateLetConst | Success | | 0.007 |
| Es6VariableReferenceCheckTest | testIllegalLetConstEarlyReference | Success | | 0.028 |
| Es6VariableReferenceCheckTest | testCorrectEarlyReference | Success | | 0.007 |
| Es6VariableReferenceCheckTest | testIllegalConstShadowing | Success | | 0.013 |
| Es6VariableReferenceCheckTest | testVarShadowing | Success | | 0.033 |
| Es6VariableReferenceCheckTest | testParameterShadowing | Success | | 0.053 |
| Es6VariableReferenceCheckTest | testReassignedConst | Success | | 0.008 |
| Es6VariableReferenceCheckTest | testLetConstNotDirectlyInBlock | Success | | 0.013 |
| Es6VariableReferenceCheckTest | testFunctionHoisting | Success | | 0.003 |
| Es6VariableReferenceCheckTest | testClassExtend | Success | | 0.012 |
| Es6VariableReferenceCheckTest | testArrayPattern | Success | | 0.027 |
| Es6VariableReferenceCheckTest | testArrayPattern_defaultValue | Success | | 0.034 |
| Es6VariableReferenceCheckTest | testObjectPattern | Success | | 0.023 |
| Es6VariableReferenceCheckTest | testObjectPattern_defaultValue | Success | | 0.018 |
| Es6VariableReferenceCheckTest | testDefaultParam | Success | | 0.022 |
| ExpandJqueryAliasesTest | testJqueryFnAliasExpansion | Success | | 0.007 |
| ExpandJqueryAliasesTest | testJqueryExtendExpansion | Success | | 0.025 |
| ExpandJqueryAliasesTest | testJqueryExpandedEachExpansion | Success | | 0.073 |
| ExploitAssignsTest | testExprExploitationTypes | Success | | 0.012 |
| ExploitAssignsTest | testExprExploitation | Success | | 0.106 |
| ExploitAssignsTest | testExprExploitationTypes2 | Success | | 0.017 |
| ExploitAssignsTest | testNestedExprExploitation | Success | | 0.034 |
| ExploitAssignsTest | testBug1840071 | Success | | 0.017 |
| ExploitAssignsTest | testBug2072343 | Success | | 0.019 |
| ExploitAssignsTest | testBadCollapseIntoCall | Success | | 0.003 |
| ExploitAssignsTest | testBadCollapse | Success | | 0.003 |
| ExploitAssignsTest | testIssue1017 | Success | | 0.003 |
| ExportTestFunctionsTest | testFunctionsAreExported | Success | | 0.005 |
| ExportTestFunctionsTest | testBasicTestFunctionsAreExported | Success | | 0.084 |
| ExportTestFunctionsTest | testFunctionExpressionsAreExported | Success | | 0.052 |
| ExportTestFunctionsTest | testFunctionAssignmentsAreExported | Success | | 0.058 |
| ExpressionDecomposerTest | testCanExposeExpression4 | Failure | expected:<UNDECOMPOSABLE> but was:<DECOMPOSABLE>
junit.framework.AssertionFailedError: expected:<UNDECOMPOSABLE> but was:<DECOMPOSABLE> at com.google.javascript.jscomp.ExpressionDecomposerTest.helperCanExposeExpression(ExpressionDecomposerTest.java:579) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperCanExposeExpression(ExpressionDecomposerTest.java:525) at com.google.javascript.jscomp.ExpressionDecomposerTest.testCanExposeExpression4(ExpressionDecomposerTest.java:124)
| 0.006 |
| ExpressionDecomposerTest | testCanExposeExpression3 | Success | | 0.009 |
| ExpressionDecomposerTest | testExposeExpression2 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testExposeExpression2(ExpressionDecomposerTest.java:273)
| 0.003 |
| ExpressionDecomposerTest | testExposeExpression3 | Success | | 0.001 |
| ExpressionDecomposerTest | testExposeExpression4 | Success | | 0.001 |
| ExpressionDecomposerTest | testExposeExpression5 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testExposeExpression5(ExpressionDecomposerTest.java:295)
| 0.009 |
| ExpressionDecomposerTest | testExposeExpression6 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testExposeExpression6(ExpressionDecomposerTest.java:302)
| 0.004 |
| ExpressionDecomposerTest | testExposeExpression7 | Success | | 0.001 |
| ExpressionDecomposerTest | testExposeExpression8 | Success | | 0.001 |
| ExpressionDecomposerTest | testExposeExpression9 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testExposeExpression9(ExpressionDecomposerTest.java:328)
| 0.000 |
| ExpressionDecomposerTest | testExposeExpression10 | Success | | 0.001 |
| ExpressionDecomposerTest | testExposeExpression11 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testExposeExpression11(ExpressionDecomposerTest.java:348)
| 0.001 |
| ExpressionDecomposerTest | testMoveExpression3 | Success | | 0.001 |
| ExpressionDecomposerTest | testCanExposeExpression7 | Failure | expected:<MOVABLE> but was:<DECOMPOSABLE>
junit.framework.AssertionFailedError: expected:<MOVABLE> but was:<DECOMPOSABLE> at com.google.javascript.jscomp.ExpressionDecomposerTest.helperCanExposeFunctionExpression(ExpressionDecomposerTest.java:549) at com.google.javascript.jscomp.ExpressionDecomposerTest.testCanExposeExpression7(ExpressionDecomposerTest.java:142)
| 0.002 |
| ExpressionDecomposerTest | testCanExposeExpression8 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testCanExposeExpression8(ExpressionDecomposerTest.java:166)
| 0.007 |
| ExpressionDecomposerTest | testMoveExpression1 | Success | | 0.002 |
| ExpressionDecomposerTest | testCanExposeExpression2 | Failure | expected:<MOVABLE> but was:<DECOMPOSABLE>
junit.framework.AssertionFailedError: expected:<MOVABLE> but was:<DECOMPOSABLE> at com.google.javascript.jscomp.ExpressionDecomposerTest.helperCanExposeExpression(ExpressionDecomposerTest.java:579) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperCanExposeExpression(ExpressionDecomposerTest.java:525) at com.google.javascript.jscomp.ExpressionDecomposerTest.testCanExposeExpression2(ExpressionDecomposerTest.java:67)
| 0.003 |
| ExpressionDecomposerTest | testExposeExpression12 | Success | | 0.006 |
| ExpressionDecomposerTest | testExposeYieldExpression1 | Success | | 0.006 |
| ExpressionDecomposerTest | testExposeYieldExpression2 | Success | | 0.002 |
| ExpressionDecomposerTest | testExposePlusEquals1 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testExposePlusEquals1(ExpressionDecomposerTest.java:418)
| 0.002 |
| ExpressionDecomposerTest | testExposePlusEquals2 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testExposePlusEquals2(ExpressionDecomposerTest.java:433)
| 0.002 |
| ExpressionDecomposerTest | testExposePlusEquals3 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testExposePlusEquals3(ExpressionDecomposerTest.java:450)
| 0.001 |
| ExpressionDecomposerTest | testExposePlusEquals4 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testExposePlusEquals4(ExpressionDecomposerTest.java:466)
| 0.002 |
| ExpressionDecomposerTest | testExposePlusEquals5 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testExposePlusEquals5(ExpressionDecomposerTest.java:485)
| 0.002 |
| ExpressionDecomposerTest | testExposeObjectLit1 | Success | | 0.006 |
| ExpressionDecomposerTest | testCanExposeExpression5 | Failure | expected:<UNDECOMPOSABLE> but was:<DECOMPOSABLE>
junit.framework.AssertionFailedError: expected:<UNDECOMPOSABLE> but was:<DECOMPOSABLE> at com.google.javascript.jscomp.ExpressionDecomposerTest.helperCanExposeExpression(ExpressionDecomposerTest.java:579) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperCanExposeExpression(ExpressionDecomposerTest.java:525) at com.google.javascript.jscomp.ExpressionDecomposerTest.testCanExposeExpression5(ExpressionDecomposerTest.java:130)
| 0.001 |
| ExpressionDecomposerTest | testCanExposeExpression6 | Failure | expected:<UNDECOMPOSABLE> but was:<DECOMPOSABLE>
junit.framework.AssertionFailedError: expected:<UNDECOMPOSABLE> but was:<DECOMPOSABLE> at com.google.javascript.jscomp.ExpressionDecomposerTest.helperCanExposeExpression(ExpressionDecomposerTest.java:579) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperCanExposeExpression(ExpressionDecomposerTest.java:525) at com.google.javascript.jscomp.ExpressionDecomposerTest.testCanExposeExpression6(ExpressionDecomposerTest.java:136)
| 0.001 |
| ExpressionDecomposerTest | testMoveExpression2 | Success | | 0.001 |
| ExpressionDecomposerTest | testCanExposeExpression1 | Success | | 0.008 |
| ExpressionDecomposerTest | testMoveExpression4 | Success | | 0.000 |
| ExpressionDecomposerTest | testMoveExpression5 | Success | | 0.000 |
| ExpressionDecomposerTest | testMoveExpression6 | Success | | 0.000 |
| ExpressionDecomposerTest | testMoveExpression7 | Success | | 0.001 |
| ExpressionDecomposerTest | testMoveExpression8 | Success | | 0.001 |
| ExpressionDecomposerTest | testMoveExpression9 | Success | | 0.002 |
| ExpressionDecomposerTest | testMoveExpression10 | Success | | 0.001 |
| ExpressionDecomposerTest | testExposeExpression1 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:629) at com.google.javascript.jscomp.ExpressionDecomposerTest.helperExposeExpression(ExpressionDecomposerTest.java:587) at com.google.javascript.jscomp.ExpressionDecomposerTest.testExposeExpression1(ExpressionDecomposerTest.java:266)
| 0.001 |
| ExternExportsPassTest | testExportSymbolDefinedInVar | Success | | 0.016 |
| ExternExportsPassTest | testExportProperty | Success | | 0.008 |
| ExternExportsPassTest | testExportMultiple | Success | | 0.010 |
| ExternExportsPassTest | testExportMultiple2 | Success | | 0.014 |
| ExternExportsPassTest | testExportMultiple3 | Success | | 0.008 |
| ExternExportsPassTest | testExportNonStaticSymbol | Success | | 0.005 |
| ExternExportsPassTest | testExportNonStaticSymbol2 | Success | | 0.005 |
| ExternExportsPassTest | testExportNonexistentProperty | Success | | 0.005 |
| ExternExportsPassTest | testExportSymbolWithTypeAnnotation | Success | | 0.007 |
| ExternExportsPassTest | testExportSymbolWithTemplateAnnotation | Success | | 0.006 |
| ExternExportsPassTest | testExportSymbolWithMultipleTemplateAnnotation | Success | | 0.005 |
| ExternExportsPassTest | testExportSymbolWithoutTypeCheck | Success | | 0.003 |
| ExternExportsPassTest | testExportEnum | Success | | 0.006 |
| ExternExportsPassTest | testExportSymbol | Success | | 0.006 |
| ExternExportsPassTest | testExportSymbolWithConstructor | Success | | 0.005 |
| ExternExportsPassTest | testExportSymbolWithConstructorWithoutTypeCheck | Success | | 0.003 |
| ExternExportsPassTest | testExportFunctionWithOptionalArguments1 | Success | | 0.006 |
| ExternExportsPassTest | testExportFunctionWithOptionalArguments2 | Success | | 0.006 |
| ExternExportsPassTest | testExportFunctionWithOptionalArguments3 | Success | | 0.006 |
| ExternExportsPassTest | testExportFunctionWithVariableArguments | Success | | 0.006 |
| ExternExportsPassTest | testExportDontEmitPrototypePathPrefix | Success | | 0.006 |
| ExternExportsPassTest | testUseExportsAsExterns | Error | Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0]> is empty
java.lang.AssertionError: Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0]> is empty at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:205) at com.google.common.truth.AbstractArraySubject.isEmpty(AbstractArraySubject.java:39) at com.google.javascript.jscomp.ExternExportsPassTest.testUseExportsAsExterns(ExternExportsPassTest.java:434)
| 0.005 |
| ExternExportsPassTest | testDontWarnOnExportFunctionWithUnknownReturnType | Error | Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0]> is empty
java.lang.AssertionError: Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0]> is empty at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:205) at com.google.common.truth.AbstractArraySubject.isEmpty(AbstractArraySubject.java:39) at com.google.javascript.jscomp.ExternExportsPassTest.testDontWarnOnExportFunctionWithUnknownReturnType(ExternExportsPassTest.java:455)
| 0.007 |
| ExternExportsPassTest | testDontWarnOnExportConstructorWithUnknownReturnType | Error | Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0]> is empty
java.lang.AssertionError: Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0]> is empty at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:205) at com.google.common.truth.AbstractArraySubject.isEmpty(AbstractArraySubject.java:39) at com.google.javascript.jscomp.ExternExportsPassTest.testDontWarnOnExportConstructorWithUnknownReturnType(ExternExportsPassTest.java:470)
| 0.006 |
| ExternExportsPassTest | testTypedef | Success | | 0.007 |
| ExternExportsPassTest | testExportParamWithNull | Success | | 0.006 |
| ExternExportsPassTest | testExportConstructor | Success | | 0.005 |
| ExternExportsPassTest | testExportParamWithSymbolDefinedInFunction | Success | | 0.007 |
| ExternExportsPassTest | testExportSymbolWithFunctionDefinedAsFunction | Success | | 0.005 |
| ExternExportsPassTest | testExportSymbolWithFunctionAlias | Success | | 0.007 |
| ExternExportsPassTest | testDontWarnOnExportFunctionWithUnknownParameterTypes | Error | Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0]> is empty
java.lang.AssertionError: Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at testcode line 1 : 0]> is empty at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:205) at com.google.common.truth.AbstractArraySubject.isEmpty(AbstractArraySubject.java:39) at com.google.javascript.jscomp.ExternExportsPassTest.testDontWarnOnExportFunctionWithUnknownParameterTypes(ExternExportsPassTest.java:585)
| 0.006 |
| ExtractPrototypeMemberDeclarationsTest | testNotEnoughPrototypeToExtract | Success | | 0.032 |
| ExtractPrototypeMemberDeclarationsTest | testExtractingSingleClassPrototype | Success | | 0.006 |
| ExtractPrototypeMemberDeclarationsTest | testExtractingTwoClassPrototype | Success | | 0.008 |
| ExtractPrototypeMemberDeclarationsTest | testExtractingTwoClassPrototypeInDifferentBlocks | Success | | 0.007 |
| ExtractPrototypeMemberDeclarationsTest | testNoMemberDeclarations | Success | | 0.006 |
| ExtractPrototypeMemberDeclarationsTest | testExtractingPrototypeWithQName | Success | | 0.007 |
| ExtractPrototypeMemberDeclarationsTest | testInterweaved | Success | | 0.008 |
| ExtractPrototypeMemberDeclarationsTest | testExtractingPrototypeWithNestedMembers | Success | | 0.007 |
| ExtractPrototypeMemberDeclarationsTest | testWithDevirtualization | Success | | 0.014 |
| ExtractPrototypeMemberDeclarationsTest | testAnonSimple | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected const change.
name:
parent:FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
NAME JSCompiler_prototypeAlias 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [originalname: a] [source_file: testcode]
NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode]
STRING a 1 [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [originalname: b] [source_file: testcode]
NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode]
STRING b 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [originalname: c] [source_file: testcode]
NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode]
STRING c 1 [source_file: testcode]
NAME c 1 [is_constant_name: 1] [source_file: testcode]
Node(NAME ): testcode:1:0
x.prototype.a = a;x.prototype.b = b;x.prototype.c = c;
Parent(FUNCTION ): testcode:1:0
x.prototype.a = a;x.prototype.b = b;x.prototype.c = c;
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected const change. name: parent:FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: a] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING a 1 [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: b] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING b 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: c] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING c 1 [source_file: testcode] NAME c 1 [is_constant_name: 1] [source_file: testcode]
Node(NAME ): testcode:1:0 x.prototype.a = a;x.prototype.b = b;x.prototype.c = c; Parent(FUNCTION ): testcode:1:0 x.prototype.a = a;x.prototype.b = b;x.prototype.c = c;
at com.google.javascript.jscomp.Normalize$NormalizeStatements.annotateConstantsByConvention(Normalize.java:436) at com.google.javascript.jscomp.Normalize$NormalizeStatements.visit(Normalize.java:401) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:599) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.Normalize.process(Normalize.java:116) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1199) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.ExtractPrototypeMemberDeclarationsTest.extract(ExtractPrototypeMemberDeclarationsTest.java:251) at com.google.javascript.jscomp.ExtractPrototypeMemberDeclarationsTest.testAnonSimple(ExtractPrototypeMemberDeclarationsTest.java:170) Caused by: java.lang.IllegalStateException: Unexpected const change. name: parent:FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: a] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING a 1 [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: b] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING b 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: c] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING c 1 [source_file: testcode] NAME c 1 [is_constant_name: 1] [source_file: testcode]
| 0.006 |
| ExtractPrototypeMemberDeclarationsTest | testAnonWithDevirtualization | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected const change.
name:
parent:FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
NAME JSCompiler_prototypeAlias 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [originalname: a] [source_file: testcode]
NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode]
STRING a 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [originalname: b] [source_file: testcode]
NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode]
STRING b 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [originalname: c] [source_file: testcode]
NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode]
STRING c 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
Node(NAME ): testcode:1:0
x.prototype.a = 1;x.prototype.b = 1;function devirtualize() { }x.prototype.c = 1;
Parent(FUNCTION ): testcode:1:0
x.prototype.a = 1;x.prototype.b = 1;function devirtualize() { }x.prototype.c = 1;
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected const change. name: parent:FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: a] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING a 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: b] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING b 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: c] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING c 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode]
Node(NAME ): testcode:1:0 x.prototype.a = 1;x.prototype.b = 1;function devirtualize() { }x.prototype.c = 1; Parent(FUNCTION ): testcode:1:0 x.prototype.a = 1;x.prototype.b = 1;function devirtualize() { }x.prototype.c = 1;
at com.google.javascript.jscomp.Normalize$NormalizeStatements.annotateConstantsByConvention(Normalize.java:436) at com.google.javascript.jscomp.Normalize$NormalizeStatements.visit(Normalize.java:401) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:599) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.Normalize.process(Normalize.java:116) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1199) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.ExtractPrototypeMemberDeclarationsTest.extract(ExtractPrototypeMemberDeclarationsTest.java:251) at com.google.javascript.jscomp.ExtractPrototypeMemberDeclarationsTest.testAnonWithDevirtualization(ExtractPrototypeMemberDeclarationsTest.java:188) Caused by: java.lang.IllegalStateException: Unexpected const change. name: parent:FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: a] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING a 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: b] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING b 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [originalname: c] [source_file: testcode] NAME JSCompiler_prototypeAlias 1 [originalname: ?.prototype] [source_file: testcode] STRING c 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode]
| 0.007 |
| ExtractPrototypeMemberDeclarationsTest | testAnonWithSideFx | Success | | 0.007 |
| FixedPointGraphTraversalTest | testGraph1 | Success | | 0.001 |
| FixedPointGraphTraversalTest | testGraph2 | Success | | 0.000 |
| FixedPointGraphTraversalTest | testGraph3 | Success | | 0.000 |
| FixedPointGraphTraversalTest | testGraph4 | Success | | 0.000 |
| FixedPointGraphTraversalTest | testGraph5 | Success | | 0.001 |
| FixedPointGraphTraversalTest | testGraph6 | Success | | 0.000 |
| FixedPointGraphTraversalTest | testGraph8 | Success | | 0.001 |
| FixedPointGraphTraversalTest | testGraph9 | Success | | 0.001 |
| FixedPointGraphTraversalTest | testGraph10 | Success | | 0.000 |
| FlowSensitiveInlineVariablesTest | testSwitchCase | Success | | 0.013 |
| FlowSensitiveInlineVariablesTest | testSimpleVar | Success | | 0.021 |
| FlowSensitiveInlineVariablesTest | testSimpleForIn | Success | | 0.017 |
| FlowSensitiveInlineVariablesTest | testSimpleAssign | Success | | 0.025 |
| FlowSensitiveInlineVariablesTest | testExported | Success | | 0.007 |
| FlowSensitiveInlineVariablesTest | testDoNotInlineIncrement | Success | | 0.014 |
| FlowSensitiveInlineVariablesTest | testDoNotInlineAssignmentOp | Success | | 0.014 |
| FlowSensitiveInlineVariablesTest | testDoNotInlineIntoLhsOfAssign | Success | | 0.006 |
| FlowSensitiveInlineVariablesTest | testMultiUse | Success | | 0.008 |
| FlowSensitiveInlineVariablesTest | testMultiUseInSameCfgNode | Success | | 0.008 |
| FlowSensitiveInlineVariablesTest | testMultiUseInTwoDifferentPath | Success | | 0.008 |
| FlowSensitiveInlineVariablesTest | testAssignmentBeforeDefinition | Success | | 0.007 |
| FlowSensitiveInlineVariablesTest | testVarInConditionPath | Success | | 0.006 |
| FlowSensitiveInlineVariablesTest | testMultiDefinitionsBeforeUse | Success | | 0.007 |
| FlowSensitiveInlineVariablesTest | testMultiDefinitionsInSameCfgNode | Success | | 0.036 |
| FlowSensitiveInlineVariablesTest | testNotReachingDefinitions | Success | | 0.007 |
| FlowSensitiveInlineVariablesTest | testNoInlineLoopCarriedDefinition | Success | | 0.017 |
| FlowSensitiveInlineVariablesTest | testDoNotExitLoop | Success | | 0.007 |
| FlowSensitiveInlineVariablesTest | testDoNotInlineWithinLoop | Success | | 0.008 |
| FlowSensitiveInlineVariablesTest | testDoNotInlineCatchExpression1 | Error | Missing catch or finally for try statement.. Reference node:
TRY 2 [source_file: testcode]
BLOCK 2 [source_file: testcode]
THROW 3 [source_file: testcode]
CALL 3 [free_call: 1] [source_file: testcode]
NAME Error 3 [source_file: testcode]
STRING 3 [source_file: testcode]
BLOCK 4 [source_file: testcode]
CATCH 4 [source_file: testcode]
NAME err 4 [source_file: testcode]
BLOCK 4 [source_file: testcode]
EXPR_RESULT 4 [source_file: testcode]
ASSIGN 4 [source_file: testcode]
NAME a 4 [source_file: testcode]
NAME err 4 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 2 [source_file: testcode] BLOCK 2 [source_file: testcode] THROW 3 [source_file: testcode] CALL 3 [free_call: 1] [source_file: testcode] NAME Error 3 [source_file: testcode] STRING 3 [source_file: testcode] BLOCK 4 [source_file: testcode] CATCH 4 [source_file: testcode] NAME err 4 [source_file: testcode] BLOCK 4 [source_file: testcode] EXPR_RESULT 4 [source_file: testcode] ASSIGN 4 [source_file: testcode] NAME a 4 [source_file: testcode] NAME err 4 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:489) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:466) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.inline(FlowSensitiveInlineVariablesTest.java:590) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.noInline(FlowSensitiveInlineVariablesTest.java:586) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.testDoNotInlineCatchExpression1(FlowSensitiveInlineVariablesTest.java:147)
| 0.002 |
| FlowSensitiveInlineVariablesTest | testDoNotInlineCatchExpression1a | Error | Missing catch or finally for try statement.. Reference node:
TRY 2 [source_file: testcode]
BLOCK 2 [source_file: testcode]
THROW 3 [source_file: testcode]
CALL 3 [free_call: 1] [source_file: testcode]
NAME Error 3 [source_file: testcode]
STRING 3 [source_file: testcode]
BLOCK 4 [source_file: testcode]
CATCH 4 [source_file: testcode]
NAME err 4 [source_file: testcode]
BLOCK 4 [source_file: testcode]
EXPR_RESULT 4 [source_file: testcode]
ASSIGN 4 [source_file: testcode]
NAME a 4 [source_file: testcode]
ADD 4 [source_file: testcode]
NAME err 4 [source_file: testcode]
NUMBER 1.0 4 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 2 [source_file: testcode] BLOCK 2 [source_file: testcode] THROW 3 [source_file: testcode] CALL 3 [free_call: 1] [source_file: testcode] NAME Error 3 [source_file: testcode] STRING 3 [source_file: testcode] BLOCK 4 [source_file: testcode] CATCH 4 [source_file: testcode] NAME err 4 [source_file: testcode] BLOCK 4 [source_file: testcode] EXPR_RESULT 4 [source_file: testcode] ASSIGN 4 [source_file: testcode] NAME a 4 [source_file: testcode] ADD 4 [source_file: testcode] NAME err 4 [source_file: testcode] NUMBER 1.0 4 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:489) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:466) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.inline(FlowSensitiveInlineVariablesTest.java:590) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.noInline(FlowSensitiveInlineVariablesTest.java:586) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.testDoNotInlineCatchExpression1a(FlowSensitiveInlineVariablesTest.java:158)
| 0.003 |
| FlowSensitiveInlineVariablesTest | testDoNotInlineCatchExpression2 | Error | Missing catch or finally for try statement.. Reference node:
TRY 2 [source_file: testcode]
BLOCK 2 [source_file: testcode]
IF 3 [source_file: testcode]
NAME x 3 [source_file: testcode]
BLOCK 3 [source_file: testcode]
THROW 3 [source_file: testcode]
CALL 3 [free_call: 1] [source_file: testcode]
NAME Error 3 [source_file: testcode]
STRING 3 [source_file: testcode]
BLOCK 4 [source_file: testcode]
CATCH 4 [source_file: testcode]
NAME err 4 [source_file: testcode]
BLOCK 4 [source_file: testcode]
EXPR_RESULT 4 [source_file: testcode]
ASSIGN 4 [source_file: testcode]
NAME a 4 [source_file: testcode]
NAME err 4 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 2 [source_file: testcode] BLOCK 2 [source_file: testcode] IF 3 [source_file: testcode] NAME x 3 [source_file: testcode] BLOCK 3 [source_file: testcode] THROW 3 [source_file: testcode] CALL 3 [free_call: 1] [source_file: testcode] NAME Error 3 [source_file: testcode] STRING 3 [source_file: testcode] BLOCK 4 [source_file: testcode] CATCH 4 [source_file: testcode] NAME err 4 [source_file: testcode] BLOCK 4 [source_file: testcode] EXPR_RESULT 4 [source_file: testcode] ASSIGN 4 [source_file: testcode] NAME a 4 [source_file: testcode] NAME err 4 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:489) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:466) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.inline(FlowSensitiveInlineVariablesTest.java:590) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.noInline(FlowSensitiveInlineVariablesTest.java:586) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.testDoNotInlineCatchExpression2(FlowSensitiveInlineVariablesTest.java:169)
| 0.001 |
| FlowSensitiveInlineVariablesTest | testDoNotInlineCatchExpression3 | Error | Missing catch or finally for try statement.. Reference node:
TRY 2 [source_file: testcode]
BLOCK 2 [source_file: testcode]
THROW 3 [source_file: testcode]
CALL 3 [free_call: 1] [source_file: testcode]
NAME Error 3 [source_file: testcode]
STRING 3 [source_file: testcode]
BLOCK 4 [source_file: testcode]
CATCH 4 [source_file: testcode]
NAME err 4 [source_file: testcode]
BLOCK 4 [source_file: testcode]
EXPR_RESULT 4 [source_file: testcode]
ASSIGN 4 [source_file: testcode]
NAME err 4 [source_file: testcode]
NAME x 4 [source_file: testcode]
EXPR_RESULT 5 [source_file: testcode]
ASSIGN 5 [source_file: testcode]
NAME a 5 [source_file: testcode]
NAME err 5 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 2 [source_file: testcode] BLOCK 2 [source_file: testcode] THROW 3 [source_file: testcode] CALL 3 [free_call: 1] [source_file: testcode] NAME Error 3 [source_file: testcode] STRING 3 [source_file: testcode] BLOCK 4 [source_file: testcode] CATCH 4 [source_file: testcode] NAME err 4 [source_file: testcode] BLOCK 4 [source_file: testcode] EXPR_RESULT 4 [source_file: testcode] ASSIGN 4 [source_file: testcode] NAME err 4 [source_file: testcode] NAME x 4 [source_file: testcode] EXPR_RESULT 5 [source_file: testcode] ASSIGN 5 [source_file: testcode] NAME a 5 [source_file: testcode] NAME err 5 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:489) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:466) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.inline(FlowSensitiveInlineVariablesTest.java:590) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.noInline(FlowSensitiveInlineVariablesTest.java:586) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.testDoNotInlineCatchExpression3(FlowSensitiveInlineVariablesTest.java:180)
| 0.001 |
| FlowSensitiveInlineVariablesTest | testDoNotInlineCatchExpression4 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 2 [source_file: testcode]
CALL 2 [free_call: 1] [source_file: testcode]
NAME stuff 2 [source_file: testcode]
BLOCK 3 [source_file: testcode]
CATCH 3 [source_file: testcode]
NAME e 3 [source_file: testcode]
BLOCK 3 [source_file: testcode]
EXPR_RESULT 4 [source_file: testcode]
ASSIGN 4 [source_file: testcode]
NAME x 4 [source_file: testcode]
NAME e 4 [source_file: testcode]
EXPR_RESULT 5 [source_file: testcode]
CALL 5 [free_call: 1] [source_file: testcode]
NAME print 5 [source_file: testcode]
NAME x 5 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 2 [source_file: testcode] CALL 2 [free_call: 1] [source_file: testcode] NAME stuff 2 [source_file: testcode] BLOCK 3 [source_file: testcode] CATCH 3 [source_file: testcode] NAME e 3 [source_file: testcode] BLOCK 3 [source_file: testcode] EXPR_RESULT 4 [source_file: testcode] ASSIGN 4 [source_file: testcode] NAME x 4 [source_file: testcode] NAME e 4 [source_file: testcode] EXPR_RESULT 5 [source_file: testcode] CALL 5 [free_call: 1] [source_file: testcode] NAME print 5 [source_file: testcode] NAME x 5 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:489) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:466) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.inline(FlowSensitiveInlineVariablesTest.java:590) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.noInline(FlowSensitiveInlineVariablesTest.java:586) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.testDoNotInlineCatchExpression4(FlowSensitiveInlineVariablesTest.java:193)
| 0.001 |
| FlowSensitiveInlineVariablesTest | testDefinitionAfterUse | Success | | 0.006 |
| FlowSensitiveInlineVariablesTest | testInlineSameVariableInStraightLine | Success | | 0.006 |
| FlowSensitiveInlineVariablesTest | testInlineInDifferentPaths | Success | | 0.008 |
| FlowSensitiveInlineVariablesTest | testNoInlineInMergedPath | Success | | 0.012 |
| FlowSensitiveInlineVariablesTest | testInlineIntoExpressions | Success | | 0.007 |
| FlowSensitiveInlineVariablesTest | testInlineExpressions1 | Success | | 0.008 |
| FlowSensitiveInlineVariablesTest | testInlineExpressions2 | Success | | 0.009 |
| FlowSensitiveInlineVariablesTest | testInlineExpressions3 | Success | | 0.010 |
| FlowSensitiveInlineVariablesTest | testInlineExpressions4 | Success | | 0.010 |
| FlowSensitiveInlineVariablesTest | testInlineExpressions5 | Success | | 0.008 |
| FlowSensitiveInlineVariablesTest | testInlineExpressions6 | Success | | 0.014 |
| FlowSensitiveInlineVariablesTest | testInlineExpression7 | Success | | 0.040 |
| FlowSensitiveInlineVariablesTest | testInlineExpression8 | Success | | 0.030 |
| FlowSensitiveInlineVariablesTest | testInlineExpression9 | Success | | 0.013 |
| FlowSensitiveInlineVariablesTest | testInlineExpression10 | Success | | 0.038 |
| FlowSensitiveInlineVariablesTest | testInlineExpressions11 | Success | | 0.023 |
| FlowSensitiveInlineVariablesTest | testInlineExpressions12 | Success | | 0.017 |
| FlowSensitiveInlineVariablesTest | testInlineExpressions13 | Success | | 0.011 |
| FlowSensitiveInlineVariablesTest | testNoInlineIfDefinitionMayNotReach | Success | | 0.007 |
| FlowSensitiveInlineVariablesTest | testNoInlineEscapedToInnerFunction | Success | | 0.008 |
| FlowSensitiveInlineVariablesTest | testNoInlineLValue | Success | | 0.007 |
| FlowSensitiveInlineVariablesTest | testShadowedVariableInnerFunction | Success | | 0.010 |
| FlowSensitiveInlineVariablesTest | testCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME x 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:489) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:466) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.inline(FlowSensitiveInlineVariablesTest.java:590) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.noInline(FlowSensitiveInlineVariablesTest.java:586) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.testCatch(FlowSensitiveInlineVariablesTest.java:336)
| 0.003 |
| FlowSensitiveInlineVariablesTest | testNoInlineGetProp | Success | | 0.011 |
| FlowSensitiveInlineVariablesTest | testNoInlineGetProp2 | Success | | 0.010 |
| FlowSensitiveInlineVariablesTest | testNoInlineGetProp3 | Success | | 0.011 |
| FlowSensitiveInlineVariablesTest | testNoInlineGetEle | Success | | 0.006 |
| FlowSensitiveInlineVariablesTest | testNoInlineConstructors | Success | | 0.005 |
| FlowSensitiveInlineVariablesTest | testNoInlineArrayLits | Success | | 0.005 |
| FlowSensitiveInlineVariablesTest | testNoInlineObjectLits | Success | | 0.006 |
| FlowSensitiveInlineVariablesTest | testNoInlineRegExpLits | Success | | 0.008 |
| FlowSensitiveInlineVariablesTest | testInlineConstructorCallsIntoLoop | Success | | 0.013 |
| FlowSensitiveInlineVariablesTest | testRemoveWithLabels | Success | | 0.016 |
| FlowSensitiveInlineVariablesTest | testInlineAcrossSideEffect1 | Success | | 0.010 |
| FlowSensitiveInlineVariablesTest | testInlineAcrossSideEffect2 | Success | | 0.032 |
| FlowSensitiveInlineVariablesTest | testInlineAcrossSideEffect3 | Success | | 0.039 |
| FlowSensitiveInlineVariablesTest | testInlineAcrossSideEffect4 | Success | | 0.036 |
| FlowSensitiveInlineVariablesTest | testCanInlineAcrossNoSideEffect | Success | | 0.008 |
| FlowSensitiveInlineVariablesTest | testDependOnOuterScopeVariables | Success | | 0.035 |
| FlowSensitiveInlineVariablesTest | testInlineIfNameIsLeftSideOfAssign | Success | | 0.059 |
| FlowSensitiveInlineVariablesTest | testInlineArguments | Success | | 0.034 |
| FlowSensitiveInlineVariablesTest | testInvalidInlineArguments1 | Success | | 0.036 |
| FlowSensitiveInlineVariablesTest | testInvalidInlineArguments2 | Success | | 0.006 |
| FlowSensitiveInlineVariablesTest | testNotOkToSkipCheckPathBetweenNodes | Success | | 0.022 |
| FlowSensitiveInlineVariablesTest | testIssue698 | Success | | 0.011 |
| FlowSensitiveInlineVariablesTest | testIssue777 | Success | | 0.028 |
| FlowSensitiveInlineVariablesTest | testTransitiveDependencies1 | Success | | 0.007 |
| FlowSensitiveInlineVariablesTest | testTransitiveDependencies2 | Success | | 0.010 |
| FlowSensitiveInlineVariablesTest | testIssue794a | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN_ADD 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME someFunction 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN_ADD 1 [source_file: testcode] NAME x 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME someFunction 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:489) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:466) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.inline(FlowSensitiveInlineVariablesTest.java:590) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.noInline(FlowSensitiveInlineVariablesTest.java:586) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.testIssue794a(FlowSensitiveInlineVariablesTest.java:561)
| 0.003 |
| FlowSensitiveInlineVariablesTest | testIssue794b | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
ADD 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME someFunction 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME x 1 [source_file: testcode] ADD 1 [source_file: testcode] NAME x 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME someFunction 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:489) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:466) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.inline(FlowSensitiveInlineVariablesTest.java:590) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.noInline(FlowSensitiveInlineVariablesTest.java:586) at com.google.javascript.jscomp.FlowSensitiveInlineVariablesTest.testIssue794b(FlowSensitiveInlineVariablesTest.java:570)
| 0.002 |
| FlowSensitiveInlineVariablesTest | testVarAssinInsideHookIssue965 | Success | | 0.039 |
| FlowSensitiveInlineVariablesTest | testForIn | Success | | 0.075 |
| FunctionArgumentInjectorTest | testFindModifiedParameters4 | Success | | 0.007 |
| FunctionArgumentInjectorTest | testFindModifiedParameters1 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testFindModifiedParameters3 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testFindModifiedParameters2 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testFindModifiedParameters5 | Success | | 0.005 |
| FunctionArgumentInjectorTest | testFindModifiedParameters6 | Success | | 0.000 |
| FunctionArgumentInjectorTest | testFindModifiedParameters7 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testFindModifiedParameters8 | Success | | 0.000 |
| FunctionArgumentInjectorTest | testFindModifiedParameters9 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testFindModifiedParameters10 | Success | | 0.000 |
| FunctionArgumentInjectorTest | testFindModifiedParameters11 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments1 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments2 | Success | | 0.000 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments3 | Success | | 0.000 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments4 | Success | | 0.000 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments5 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments6 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments7 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments8 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments9 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments10 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments11 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments12 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments13 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments14 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments20 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments21 | Success | | 0.000 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments22 | Success | | 0.002 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments23 | Success | | 0.002 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments24 | Success | | 0.002 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments25 | Success | | 0.002 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments26 | Success | | 0.002 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments27 | Success | | 0.000 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments28 | Success | | 0.000 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments29 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments30 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments31 | Success | | 0.001 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArguments32 | Success | | 0.000 |
| FunctionArgumentInjectorTest | testMaybeAddTempsForCallArgumentsInLoops | Success | | 0.001 |
| FunctionInjectorTest | testIsSimpleFunction1 | Success | | 0.000 |
| FunctionInjectorTest | testIsSimpleFunction2 | Success | | 0.001 |
| FunctionInjectorTest | testIsSimpleFunction3 | Success | | 0.001 |
| FunctionInjectorTest | testIsSimpleFunction4 | Success | | 0.000 |
| FunctionInjectorTest | testIsSimpleFunction5 | Success | | 0.001 |
| FunctionInjectorTest | testIsSimpleFunction6 | Success | | 0.001 |
| FunctionInjectorTest | testIsSimpleFunction7 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction1 | Success | | 0.002 |
| FunctionInjectorTest | testCanInlineReferenceToFunction2 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction3 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction4 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction5 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction6 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction7 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction8 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction9 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction10 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction11 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction12 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction12b | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction14 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction15 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction16 | Success | | 0.002 |
| FunctionInjectorTest | testCanInlineReferenceToFunction17 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction18 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction19 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction20 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction21 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction22 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction23 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction24 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction25 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction26 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction27 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction28 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction29 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction30 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction31 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction32 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction33 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction34 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction35 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction36 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction37 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction38 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction39 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction40 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction41 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction42 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction43 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction44 | Success | | 0.002 |
| FunctionInjectorTest | testCanInlineReferenceToFunction45 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction46 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction47 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction48 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction49 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunction50 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunction51 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression1 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression2 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression3 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression4 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression5 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression5a | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression6 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression7 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression7a | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression8 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression9 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression10 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression10a | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression12 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression13 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression14 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression14a | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression18 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression19 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression19a | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression21 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression21a | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression22 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression22a | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression23 | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInExpression23a | Success | | 0.001 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInLoop1 | Success | | 0.000 |
| FunctionInjectorTest | testCanInlineReferenceToFunctionInLoop2 | Success | | 0.000 |
| FunctionInjectorTest | testInline1 | Success | | 0.003 |
| FunctionInjectorTest | testInline2 | Success | | 0.001 |
| FunctionInjectorTest | testInline3 | Success | | 0.001 |
| FunctionInjectorTest | testInline4 | Success | | 0.001 |
| FunctionInjectorTest | testInline5 | Success | | 0.001 |
| FunctionInjectorTest | testInline6 | Success | | 0.001 |
| FunctionInjectorTest | testInline7 | Failure | canInlineReferenceToFunction should not be CAN_NOT_INLINE
junit.framework.AssertionFailedError: canInlineReferenceToFunction should not be CAN_NOT_INLINE at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1481) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1417) at com.google.javascript.jscomp.FunctionInjectorTest.testInline7(FunctionInjectorTest.java:820)
| 0.001 |
| FunctionInjectorTest | testInline8 | Success | | 0.002 |
| FunctionInjectorTest | testInline9 | Failure | canInlineReferenceToFunction should not be CAN_NOT_INLINE
junit.framework.AssertionFailedError: canInlineReferenceToFunction should not be CAN_NOT_INLINE at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1481) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1417) at com.google.javascript.jscomp.FunctionInjectorTest.testInline9(FunctionInjectorTest.java:836)
| 0.001 |
| FunctionInjectorTest | testInline10 | Success | | 0.001 |
| FunctionInjectorTest | testInline11 | Success | | 0.001 |
| FunctionInjectorTest | testInline12 | Success | | 0.002 |
| FunctionInjectorTest | testInline13 | Success | | 0.002 |
| FunctionInjectorTest | testInline14 | Success | | 0.002 |
| FunctionInjectorTest | testInline15 | Success | | 0.002 |
| FunctionInjectorTest | testInline16 | Success | | 0.002 |
| FunctionInjectorTest | testInline17 | Success | | 0.002 |
| FunctionInjectorTest | testInline18 | Success | | 0.002 |
| FunctionInjectorTest | testInline19 | Failure |
Expected: var x=1;var y=2;function foo(a,b){x=b;y=a}function bar(){var a$$inline_0=x;x=y;y=a$$inline_0}
Result: var x=1;var y=2;function foo(a,b){x=b;y=a}function bar(){x=y;y=x}
Node tree inequality:
Tree1:
SCRIPT 1 [synthetic: 1] [source_file: [testcode]] [input_id: InputId: [testcode]]
VAR 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
NUMBER 1.0 1 [source_file: [testcode]]
VAR 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
NUMBER 2.0 1 [source_file: [testcode]]
FUNCTION foo 1 [source_file: [testcode]]
NAME foo 1 [source_file: [testcode]]
PARAM_LIST 1 [source_file: [testcode]]
NAME a 1 [source_file: [testcode]]
NAME b 1 [source_file: [testcode]]
BLOCK 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
NAME b 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
NAME a 1 [source_file: [testcode]]
EMPTY 1 [source_file: [testcode]]
FUNCTION bar 1 [source_file: [testcode]]
NAME bar 1 [source_file: [testcode]]
PARAM_LIST 1 [source_file: [testcode]]
BLOCK 1 [source_file: [testcode]]
BLOCK 1 [source_file: [testcode]]
VAR 1 [source_file: [testcode]]
NAME a$$inline_0 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
NAME a$$inline_0 1 [source_file: [testcode]]
Tree2:
SCRIPT 1 [synthetic: 1] [source_file: code] [input_id: InputId: code]
VAR 1 [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
NUMBER 1.0 1 [source_file: code]
VAR 1 [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
NUMBER 2.0 1 [source_file: code]
FUNCTION foo 1 [source_file: code]
NAME foo 1 [source_file: code]
PARAM_LIST 1 [source_file: code]
NAME a 1 [is_constant_name: 1] [source_file: code]
NAME b 1 [is_constant_name: 1] [source_file: code]
BLOCK 1 [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
NAME b 1 [is_constant_name: 1] [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
NAME a 1 [is_constant_name: 1] [source_file: code]
EMPTY 1 [source_file: code]
FUNCTION bar 1 [source_file: code]
NAME bar 1 [source_file: code]
PARAM_LIST 1 [source_file: code]
BLOCK 1 [source_file: code]
BLOCK 1 [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
Subtree1: BLOCK 1 [source_file: [testcode]]
VAR 1 [source_file: [testcode]]
NAME a$$inline_0 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
NAME a$$inline_0 1 [source_file: [testcode]]
Subtree2: BLOCK 1 [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
junit.framework.AssertionFailedError: Expected: var x=1;var y=2;function foo(a,b){x=b;y=a}function bar(){var a$$inline_0=x;x=y;y=a$$inline_0} Result: var x=1;var y=2;function foo(a,b){x=b;y=a}function bar(){x=y;y=x} Node tree inequality: Tree1: SCRIPT 1 [synthetic: 1] [source_file: [testcode]] [input_id: InputId: [testcode]] VAR 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] NUMBER 1.0 1 [source_file: [testcode]] VAR 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] NUMBER 2.0 1 [source_file: [testcode]] FUNCTION foo 1 [source_file: [testcode]] NAME foo 1 [source_file: [testcode]] PARAM_LIST 1 [source_file: [testcode]] NAME a 1 [source_file: [testcode]] NAME b 1 [source_file: [testcode]] BLOCK 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] NAME b 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] NAME a 1 [source_file: [testcode]] EMPTY 1 [source_file: [testcode]] FUNCTION bar 1 [source_file: [testcode]] NAME bar 1 [source_file: [testcode]] PARAM_LIST 1 [source_file: [testcode]] BLOCK 1 [source_file: [testcode]] BLOCK 1 [source_file: [testcode]] VAR 1 [source_file: [testcode]] NAME a$$inline_0 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] NAME a$$inline_0 1 [source_file: [testcode]]
Tree2: SCRIPT 1 [synthetic: 1] [source_file: code] [input_id: InputId: code] VAR 1 [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code] NUMBER 1.0 1 [source_file: code] VAR 1 [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code] NUMBER 2.0 1 [source_file: code] FUNCTION foo 1 [source_file: code] NAME foo 1 [source_file: code] PARAM_LIST 1 [source_file: code] NAME a 1 [is_constant_name: 1] [source_file: code] NAME b 1 [is_constant_name: 1] [source_file: code] BLOCK 1 [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code] NAME b 1 [is_constant_name: 1] [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code] NAME a 1 [is_constant_name: 1] [source_file: code] EMPTY 1 [source_file: code] FUNCTION bar 1 [source_file: code] NAME bar 1 [source_file: code] PARAM_LIST 1 [source_file: code] BLOCK 1 [source_file: code] BLOCK 1 [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code]
Subtree1: BLOCK 1 [source_file: [testcode]] VAR 1 [source_file: [testcode]] NAME a$$inline_0 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] NAME a$$inline_0 1 [source_file: [testcode]]
Subtree2: BLOCK 1 [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code]
at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1499) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1417) at com.google.javascript.jscomp.FunctionInjectorTest.testInline19(FunctionInjectorTest.java:931)
| 0.004 |
| FunctionInjectorTest | testInline19b | Failure |
Expected: var x=1;var y=2;function foo(a,b){y=a;x=b}function bar(){var b$$inline_1=y;y=x;x=b$$inline_1}
Result: var x=1;var y=2;function foo(a,b){y=a;x=b}function bar(){y=x;x=y}
Node tree inequality:
Tree1:
SCRIPT 1 [synthetic: 1] [source_file: [testcode]] [input_id: InputId: [testcode]]
VAR 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
NUMBER 1.0 1 [source_file: [testcode]]
VAR 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
NUMBER 2.0 1 [source_file: [testcode]]
FUNCTION foo 1 [source_file: [testcode]]
NAME foo 1 [source_file: [testcode]]
PARAM_LIST 1 [source_file: [testcode]]
NAME a 1 [source_file: [testcode]]
NAME b 1 [source_file: [testcode]]
BLOCK 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
NAME a 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
NAME b 1 [source_file: [testcode]]
EMPTY 1 [source_file: [testcode]]
FUNCTION bar 1 [source_file: [testcode]]
NAME bar 1 [source_file: [testcode]]
PARAM_LIST 1 [source_file: [testcode]]
BLOCK 1 [source_file: [testcode]]
BLOCK 1 [source_file: [testcode]]
VAR 1 [source_file: [testcode]]
NAME b$$inline_1 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
NAME b$$inline_1 1 [source_file: [testcode]]
Tree2:
SCRIPT 1 [synthetic: 1] [source_file: code] [input_id: InputId: code]
VAR 1 [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
NUMBER 1.0 1 [source_file: code]
VAR 1 [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
NUMBER 2.0 1 [source_file: code]
FUNCTION foo 1 [source_file: code]
NAME foo 1 [source_file: code]
PARAM_LIST 1 [source_file: code]
NAME a 1 [is_constant_name: 1] [source_file: code]
NAME b 1 [is_constant_name: 1] [source_file: code]
BLOCK 1 [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
NAME a 1 [is_constant_name: 1] [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
NAME b 1 [is_constant_name: 1] [source_file: code]
EMPTY 1 [source_file: code]
FUNCTION bar 1 [source_file: code]
NAME bar 1 [source_file: code]
PARAM_LIST 1 [source_file: code]
BLOCK 1 [source_file: code]
BLOCK 1 [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
Subtree1: BLOCK 1 [source_file: [testcode]]
VAR 1 [source_file: [testcode]]
NAME b$$inline_1 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME y 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
EXPR_RESULT 1 [source_file: [testcode]]
ASSIGN 1 [source_file: [testcode]]
NAME x 1 [source_file: [testcode]]
NAME b$$inline_1 1 [source_file: [testcode]]
Subtree2: BLOCK 1 [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
EXPR_RESULT 1 [source_file: code]
ASSIGN 1 [source_file: code]
NAME x 1 [is_constant_name: 1] [source_file: code]
NAME y 1 [is_constant_name: 1] [source_file: code]
junit.framework.AssertionFailedError: Expected: var x=1;var y=2;function foo(a,b){y=a;x=b}function bar(){var b$$inline_1=y;y=x;x=b$$inline_1} Result: var x=1;var y=2;function foo(a,b){y=a;x=b}function bar(){y=x;x=y} Node tree inequality: Tree1: SCRIPT 1 [synthetic: 1] [source_file: [testcode]] [input_id: InputId: [testcode]] VAR 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] NUMBER 1.0 1 [source_file: [testcode]] VAR 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] NUMBER 2.0 1 [source_file: [testcode]] FUNCTION foo 1 [source_file: [testcode]] NAME foo 1 [source_file: [testcode]] PARAM_LIST 1 [source_file: [testcode]] NAME a 1 [source_file: [testcode]] NAME b 1 [source_file: [testcode]] BLOCK 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] NAME a 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] NAME b 1 [source_file: [testcode]] EMPTY 1 [source_file: [testcode]] FUNCTION bar 1 [source_file: [testcode]] NAME bar 1 [source_file: [testcode]] PARAM_LIST 1 [source_file: [testcode]] BLOCK 1 [source_file: [testcode]] BLOCK 1 [source_file: [testcode]] VAR 1 [source_file: [testcode]] NAME b$$inline_1 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] NAME b$$inline_1 1 [source_file: [testcode]]
Tree2: SCRIPT 1 [synthetic: 1] [source_file: code] [input_id: InputId: code] VAR 1 [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code] NUMBER 1.0 1 [source_file: code] VAR 1 [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code] NUMBER 2.0 1 [source_file: code] FUNCTION foo 1 [source_file: code] NAME foo 1 [source_file: code] PARAM_LIST 1 [source_file: code] NAME a 1 [is_constant_name: 1] [source_file: code] NAME b 1 [is_constant_name: 1] [source_file: code] BLOCK 1 [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code] NAME a 1 [is_constant_name: 1] [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code] NAME b 1 [is_constant_name: 1] [source_file: code] EMPTY 1 [source_file: code] FUNCTION bar 1 [source_file: code] NAME bar 1 [source_file: code] PARAM_LIST 1 [source_file: code] BLOCK 1 [source_file: code] BLOCK 1 [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code]
Subtree1: BLOCK 1 [source_file: [testcode]] VAR 1 [source_file: [testcode]] NAME b$$inline_1 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME y 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] EXPR_RESULT 1 [source_file: [testcode]] ASSIGN 1 [source_file: [testcode]] NAME x 1 [source_file: [testcode]] NAME b$$inline_1 1 [source_file: [testcode]]
Subtree2: BLOCK 1 [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code] EXPR_RESULT 1 [source_file: code] ASSIGN 1 [source_file: code] NAME x 1 [is_constant_name: 1] [source_file: code] NAME y 1 [is_constant_name: 1] [source_file: code]
at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1499) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1417) at com.google.javascript.jscomp.FunctionInjectorTest.testInline19b(FunctionInjectorTest.java:946)
| 0.003 |
| FunctionInjectorTest | testInlineIntoLoop | Success | | 0.005 |
| FunctionInjectorTest | testInlineFunctionWithInnerFunction1 | Success | | 0.001 |
| FunctionInjectorTest | testInlineFunctionWithInnerFunction2 | Success | | 0.001 |
| FunctionInjectorTest | testInlineFunctionWithInnerFunction3 | Success | | 0.002 |
| FunctionInjectorTest | testInlineFunctionWithInnerFunction4 | Success | | 0.002 |
| FunctionInjectorTest | testInlineFunctionWithInnerFunction5 | Success | | 0.002 |
| FunctionInjectorTest | testInlineReferenceInExpression1 | Success | | 0.003 |
| FunctionInjectorTest | testInlineReferenceInExpression2 | Success | | 0.002 |
| FunctionInjectorTest | testInlineReferenceInExpression3 | Success | | 0.003 |
| FunctionInjectorTest | testInlineReferenceInExpression4 | Success | | 0.002 |
| FunctionInjectorTest | testInlineReferenceInExpression5 | Success | | 0.002 |
| FunctionInjectorTest | testInlineReferenceInExpression6 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected.
Node(CALL): code:1:49
function foo(a){return true;}; function x() {1 + foo(1) }
Parent: NULL
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected. Node(CALL): code:1:49 function foo(a){return true;}; function x() {1 + foo(1) } Parent: NULL at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1489) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.testInlineReferenceInExpression6(FunctionInjectorTest.java:1096) Caused by: java.lang.IllegalStateException: Unexpected.
| 0.003 |
| FunctionInjectorTest | testInlineReferenceInExpression7 | Success | | 0.002 |
| FunctionInjectorTest | testInlineReferenceInExpression8 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected.
Node(CALL): code:1:49
function foo(a){return true;}; function x() {1 + foo(1) }
Parent: NULL
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected. Node(CALL): code:1:49 function foo(a){return true;}; function x() {1 + foo(1) } Parent: NULL at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1489) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.testInlineReferenceInExpression8(FunctionInjectorTest.java:1120) Caused by: java.lang.IllegalStateException: Unexpected.
| 0.002 |
| FunctionInjectorTest | testInlineReferenceInExpression9 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected.
Node(CALL): code:1:57
function foo(a){return true;}; function x() {var b = 1 + foo(1)}
Parent: NULL
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected. Node(CALL): code:1:57 function foo(a){return true;}; function x() {var b = 1 + foo(1)} Parent: NULL at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1489) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.testInlineReferenceInExpression9(FunctionInjectorTest.java:1132) Caused by: java.lang.IllegalStateException: Unexpected.
| 0.003 |
| FunctionInjectorTest | testInlineReferenceInExpression11 | Success | | 0.001 |
| FunctionInjectorTest | testInlineReferenceInExpression12 | Success | | 0.002 |
| FunctionInjectorTest | testInlineReferenceInExpression13 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected.
Node(CALL): code:1:57
function foo(a){return true;}; function x() { goo() + (1?foo(1):1) }
Parent(HOOK): code:1:55
function foo(a){return true;}; function x() { goo() + (1?foo(1):1) }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected. Node(CALL): code:1:57 function foo(a){return true;}; function x() { goo() + (1?foo(1):1) } Parent(HOOK): code:1:55 function foo(a){return true;}; function x() { goo() + (1?foo(1):1) }
at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1489) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.testInlineReferenceInExpression13(FunctionInjectorTest.java:1190) Caused by: java.lang.IllegalStateException: Unexpected.
| 0.001 |
| FunctionInjectorTest | testInlineReferenceInExpression14 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected.
Node(CALL): code:1:73
var z = {};function foo(a){z = {};return true;}; function x() { z.gack = foo(1) }
Parent: NULL
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected. Node(CALL): code:1:73 var z = {};function foo(a){z = {};return true;}; function x() { z.gack = foo(1) } Parent: NULL at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1489) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.testInlineReferenceInExpression14(FunctionInjectorTest.java:1207) Caused by: java.lang.IllegalStateException: Unexpected.
| 0.002 |
| FunctionInjectorTest | testInlineReferenceInExpression15 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected.
Node(CALL): code:1:73
var z = {};function foo(a){z = {};return true;}; function x() { z.gack = foo.call(this,1) }
Parent: NULL
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected. Node(CALL): code:1:73 var z = {};function foo(a){z = {};return true;}; function x() { z.gack = foo.call(this,1) } Parent: NULL at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1489) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.testInlineReferenceInExpression15(FunctionInjectorTest.java:1227) Caused by: java.lang.IllegalStateException: Unexpected.
| 0.002 |
| FunctionInjectorTest | testInlineReferenceInExpression16 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected.
Node(CALL): code:1:75
var z = {};function foo(a){z = {};return true;}; function x() { z[bar()] = foo(1) }
Parent: NULL
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected. Node(CALL): code:1:75 var z = {};function foo(a){z = {};return true;}; function x() { z[bar()] = foo(1) } Parent: NULL at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1489) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.testInlineReferenceInExpression16(FunctionInjectorTest.java:1247) Caused by: java.lang.IllegalStateException: Unexpected.
| 0.002 |
| FunctionInjectorTest | testInlineReferenceInExpression17 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected.
Node(CALL): code:1:77
var z = {};function foo(a){z = {};return true;}; function x() { z.y.x.gack = foo(1) }
Parent: NULL
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected. Node(CALL): code:1:77 var z = {};function foo(a){z = {};return true;}; function x() { z.y.x.gack = foo(1) } Parent: NULL at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1489) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.testInlineReferenceInExpression17(FunctionInjectorTest.java:1269) Caused by: java.lang.IllegalStateException: Unexpected.
| 0.002 |
| FunctionInjectorTest | testInlineWithinCalls1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected.
Node(CALL): code:1:46
function foo(){return _g;}; function x() {1 + foo()() }
Parent(CALL): code:1:46
function foo(){return _g;}; function x() {1 + foo()() }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected. Node(CALL): code:1:46 function foo(){return _g;}; function x() {1 + foo()() } Parent(CALL): code:1:46 function foo(){return _g;}; function x() {1 + foo()() }
at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.FunctionInjectorTest$2.call(FunctionInjectorTest.java:1489) at com.google.javascript.jscomp.FunctionInjectorTest$TestCallback.visit(FunctionInjectorTest.java:1544) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.FunctionInjectorTest.helperInlineReferenceToFunction(FunctionInjectorTest.java:1508) at com.google.javascript.jscomp.FunctionInjectorTest.testInlineWithinCalls1(FunctionInjectorTest.java:1291) Caused by: java.lang.IllegalStateException: Unexpected.
| 0.002 |
| FunctionInjectorTest | testInlineAssignmentToConstant | Success | | 0.002 |
| FunctionInjectorTest | testBug1897706 | Success | | 0.006 |
| FunctionInjectorTest | testIssue1101a | Success | | 0.001 |
| FunctionInjectorTest | testIssue1101b | Success | | 0.001 |
| FunctionNamesTest | testFunctionsNamesAndIds | Success | | 0.023 |
| FunctionRewriterTest | testReplaceReturnConst1 | Success | | 0.016 |
| FunctionRewriterTest | testReplaceReturnConst2 | Success | | 0.007 |
| FunctionRewriterTest | testReplaceReturnConst3 | Success | | 0.009 |
| FunctionRewriterTest | testReplaceGetter1 | Success | | 0.005 |
| FunctionRewriterTest | testReplaceGetter2 | Success | | 0.006 |
| FunctionRewriterTest | testReplaceSetter1 | Success | | 0.009 |
| FunctionRewriterTest | testReplaceSetter2 | Success | | 0.008 |
| FunctionRewriterTest | testReplaceSetter3 | Success | | 0.007 |
| FunctionRewriterTest | testReplaceSetter4 | Success | | 0.009 |
| FunctionRewriterTest | testReplaceEmptyFunction1 | Success | | 0.006 |
| FunctionRewriterTest | testReplaceEmptyFunction2 | Success | | 0.004 |
| FunctionRewriterTest | testReplaceEmptyFunction3 | Success | | 0.005 |
| FunctionRewriterTest | testReplaceIdentityFunction1 | Success | | 0.007 |
| FunctionRewriterTest | testReplaceIdentityFunction2 | Success | | 0.009 |
| FunctionRewriterTest | testIssue538 | Success | | 0.007 |
| FunctionToBlockMutatorTest | testMutateWithMultipleReturns | Success | | 0.002 |
| FunctionToBlockMutatorTest | testMutateWithParameters1 | Success | | 0.000 |
| FunctionToBlockMutatorTest | testMutateNoReturnWithoutResultAssignment | Success | | 0.001 |
| FunctionToBlockMutatorTest | testMutate8 | Success | | 0.001 |
| FunctionToBlockMutatorTest | testMutateNoReturnWithResultAssignment | Success | | 0.000 |
| FunctionToBlockMutatorTest | testMutateNoValueReturnWithoutResultAssignment | Success | | 0.000 |
| FunctionToBlockMutatorTest | testMutateNoValueReturnWithResultAssignment | Success | | 0.000 |
| FunctionToBlockMutatorTest | testMutateValueReturnWithoutResultAssignment | Success | | 0.001 |
| FunctionToBlockMutatorTest | testMutateValueReturnWithResultAssignment | Success | | 0.001 |
| FunctionToBlockMutatorTest | testMutateWithParameters2 | Success | | 0.001 |
| FunctionToBlockMutatorTest | testMutateWithParameters3 | Success | | 0.001 |
| FunctionToBlockMutatorTest | testMutateInitializeUninitializedVars1 | Success | | 0.001 |
| FunctionToBlockMutatorTest | testMutateInitializeUninitializedVars2 | Success | | 0.001 |
| FunctionToBlockMutatorTest | testMutateCallInLoopVars1 | Success | | 0.002 |
| FunctionToBlockMutatorTest | testMutateFunctionDefinition | Success | | 0.001 |
| FunctionTypeBuilderTest | testInlineJsDoc | Success | | 0.002 |
| FunctionTypeBuilderTest | testValidBuiltInTypeRedefinition | Success | | 0.004 |
| FunctionTypeBuilderTest | testBuiltInTypeDifferentReturnType | Success | | 0.002 |
| FunctionTypeBuilderTest | testBuiltInTypeDifferentNumParams | Success | | 0.002 |
| FunctionTypeBuilderTest | testBuiltInTypeDifferentNumParams2 | Success | | 0.003 |
| FunctionTypeBuilderTest | testInlineJsDoc2 | Success | | 0.002 |
| FunctionTypeBuilderTest | testBuiltInTypeDifferentParamType | Success | | 0.002 |
| FunctionTypeBuilderTest | testBadFunctionTypeDefinition | Success | | 0.002 |
| FunctionTypeBuilderTest | testExternSubTypes | Success | | 0.006 |
| GatherExternPropertiesTest | testGatherExternProperties | Success | | 0.010 |
| GatherExternPropertiesTest | testGatherExternPropertiesIncludingRecordTypes | Success | | 0.029 |
| GatherRawExportsTest | testExportsFound2 | Success | | 0.002 |
| GatherRawExportsTest | testExportsFound1 | Success | | 0.001 |
| GatherRawExportsTest | testExportsFound3 | Success | | 0.001 |
| GatherRawExportsTest | testExportsFound4 | Success | | 0.003 |
| GatherRawExportsTest | testExportsFound5 | Success | | 0.003 |
| GatherRawExportsTest | testExportsFound6 | Success | | 0.001 |
| GatherRawExportsTest | testExportsFound7 | Success | | 0.002 |
| GatherRawExportsTest | testExportsFound8 | Success | | 0.001 |
| GatherRawExportsTest | testExportsFound9 | Success | | 0.001 |
| GatherRawExportsTest | testExportsFound10 | Success | | 0.002 |
| GatherRawExportsTest | testExportsFound11 | Success | | 0.002 |
| GatherRawExportsTest | testExportsFound12 | Success | | 0.002 |
| GatherRawExportsTest | testExportsFound13 | Success | | 0.002 |
| GatherRawExportsTest | testExportsFound14 | Success | | 0.003 |
| GatherRawExportsTest | testExportsFound15 | Success | | 0.002 |
| GatherRawExportsTest | testExportsFound16 | Success | | 0.002 |
| GatherRawExportsTest | testExportOnTopFound1 | Success | | 0.002 |
| GatherRawExportsTest | testExportOntopFound2 | Success | | 0.001 |
| GatherRawExportsTest | testExportOnGoogGlobalFound1 | Success | | 0.001 |
| GatherRawExportsTest | testExportOnGoogGlobalFound2 | Success | | 0.002 |
| GatherRawExportsTest | testExportOnGoogGlobalFound3 | Success | | 0.001 |
| GatherRawExportsTest | testExportOnGoogGlobalFound4 | Success | | 0.002 |
| GatherSideEffectSubexpressionsCallbackTest | testHook | Success | | 0.001 |
| GatherSideEffectSubexpressionsCallbackTest | testAndOr | Success | | 0.000 |
| GatherSideEffectSubexpressionsCallbackTest | testIllegalArgumentIfNotAndOr | Success | | 0.001 |
| GatherSideEffectSubexpressionsCallbackTest | testIllegalArgumentIfNoSideEffectAndOr | Success | | 0.000 |
| GatherSideEffectSubexpressionsCallbackTest | testIllegalArgumentIfNotHook | Success | | 0.000 |
| GatherSideEffectSubexpressionsCallbackTest | testIllegalArgumentIfNoSideEffectHook | Success | | 0.000 |
| GatherSideEffectSubexpressionsCallbackTest | testIllegalArgumentIfHookKeepNeitherBranch | Success | | 0.000 |
| GenerateExportsTest | testExportSymbolAndProperties | Success | | 0.002 |
| GenerateExportsTest | testExportSymbolAndConstantProperties | Success | | 0.002 |
| GenerateExportsTest | testNoExport | Success | | 0.001 |
| GenerateExportsTest | testNestedVarAssign | Success | | 0.001 |
| GenerateExportsTest | testExportVars | Success | | 0.001 |
| GenerateExportsTest | testNestedAssign | Success | | 0.001 |
| GenerateExportsTest | testNonGlobalScopeExport1 | Success | | 0.002 |
| GenerateExportsTest | testNonGlobalScopeExport2 | Success | | 0.001 |
| GenerateExportsTest | testExportClass | Success | | 0.002 |
| GenerateExportsTest | testExportSubclass | Success | | 0.003 |
| GenerateExportsTest | testExportObjectLit1 | Success | | 0.003 |
| GenerateExportsTest | testExportObjectLit2 | Success | | 0.002 |
| GenerateExportsTest | testExportObjectLit3 | Success | | 0.003 |
| GenerateExportsTest | testExportObjectLit4 | Success | | 0.004 |
| GenerateExportsTest | testExportClassMember1 | Success | | 0.004 |
| GenerateExportsTest | testExportClassMemberStub | Success | | 0.003 |
| GenerateExportsTest | testExportEnum | Success | | 0.002 |
| GenerateExportsTest | testExportSymbol | Success | | 0.002 |
| GlobalNamespaceTest | testRemoveDeclaration1 | Success | | 0.001 |
| GlobalNamespaceTest | testRemoveDeclaration2 | Success | | 0.000 |
| GlobalVarReferenceMapTest | testUpdateGlobalVarReferences_ResetReferences | Success | | 0.001 |
| GlobalVarReferenceMapTest | testUpdateGlobalVarReferences_UpdateScriptNoRef | Success | | 0.002 |
| GlobalVarReferenceMapTest | testUpdateGlobalVarReferences_UpdateScriptNewRefs | Success | | 0.000 |
| GlobalVarReferenceMapTest | testUpdateGlobalVarReferences_UpdateScriptNewVar | Success | | 0.000 |
| GlobalVarReferenceMapTest | testUpdateReferencesWithGlobalScope | Success | | 0.000 |
| GoogleCodingConventionTest | testVarAndOptionalParams | Success | | 0.000 |
| GoogleCodingConventionTest | testInlineName | Failure | N/A
junit.framework.AssertionFailedError at com.google.javascript.jscomp.GoogleCodingConventionTest.testInlineName(GoogleCodingConventionTest.java:52)
| 0.000 |
| GoogleCodingConventionTest | testExportedName | Success | | 0.000 |
| GoogleCodingConventionTest | testPrivateName | Success | | 0.001 |
| GoogleCodingConventionTest | testEnumKey | Success | | 0.000 |
| GoogleCodingConventionTest | testInheritanceDetection1 | Success | | 0.000 |
| GoogleCodingConventionTest | testInheritanceDetection2 | Failure | expected:<[A]> but was:<[goog]>
junit.framework.ComparisonFailure: expected:<[A]> but was:<[goog]> at com.google.javascript.jscomp.GoogleCodingConventionTest.assertDefinesClasses(GoogleCodingConventionTest.java:180) at com.google.javascript.jscomp.GoogleCodingConventionTest.testInheritanceDetection2(GoogleCodingConventionTest.java:100)
| 0.001 |
| GoogleCodingConventionTest | testInheritanceDetection3 | Success | | 0.001 |
| GoogleCodingConventionTest | testInheritanceDetection4 | Failure | expected:<goog[.A]> but was:<goog[]>
junit.framework.ComparisonFailure: expected:<goog[.A]> but was:<goog[]> at com.google.javascript.jscomp.GoogleCodingConventionTest.assertDefinesClasses(GoogleCodingConventionTest.java:180) at com.google.javascript.jscomp.GoogleCodingConventionTest.testInheritanceDetection4(GoogleCodingConventionTest.java:108)
| 0.002 |
| GoogleCodingConventionTest | testInheritanceDetection5 | Success | | 0.001 |
| GoogleCodingConventionTest | testInheritanceDetection6 | Failure | Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@1d114df1
junit.framework.AssertionFailedError: Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@1d114df1 at com.google.javascript.jscomp.GoogleCodingConventionTest.assertNotClassDefining(GoogleCodingConventionTest.java:171) at com.google.javascript.jscomp.GoogleCodingConventionTest.testInheritanceDetection6(GoogleCodingConventionTest.java:116)
| 0.000 |
| GoogleCodingConventionTest | testInheritanceDetection7 | Failure | Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@3a67b466
junit.framework.AssertionFailedError: Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@3a67b466 at com.google.javascript.jscomp.GoogleCodingConventionTest.assertNotClassDefining(GoogleCodingConventionTest.java:171) at com.google.javascript.jscomp.GoogleCodingConventionTest.testInheritanceDetection7(GoogleCodingConventionTest.java:120)
| 0.000 |
| GoogleCodingConventionTest | testInheritanceDetection8 | Failure | Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@1dec7b6e
junit.framework.AssertionFailedError: Expected: <null> but was: com.google.javascript.jscomp.CodingConvention$SubclassRelationship@1dec7b6e at com.google.javascript.jscomp.GoogleCodingConventionTest.assertNotClassDefining(GoogleCodingConventionTest.java:171) at com.google.javascript.jscomp.GoogleCodingConventionTest.testInheritanceDetection8(GoogleCodingConventionTest.java:124)
| 0.001 |
| GoogleCodingConventionTest | testInheritanceDetection9 | Success | | 0.001 |
| GoogleCodingConventionTest | testInheritanceDetection10 | Failure | expected:<[A]> but was:<[goog]>
junit.framework.ComparisonFailure: expected:<[A]> but was:<[goog]> at com.google.javascript.jscomp.GoogleCodingConventionTest.assertDefinesClasses(GoogleCodingConventionTest.java:180) at com.google.javascript.jscomp.GoogleCodingConventionTest.testInheritanceDetection10(GoogleCodingConventionTest.java:133)
| 0.001 |
| GoogleCodingConventionTest | testInheritanceDetectionPostCollapseProperties | Error | N/A
java.lang.NullPointerException at com.google.javascript.jscomp.ClosureCodingConvention.getClassesDefinedByCall(ClosureCodingConvention.java:151) at com.google.javascript.jscomp.CodingConventions$Proxy.getClassesDefinedByCall(CodingConventions.java:116) at com.google.javascript.jscomp.GoogleCodingConventionTest.assertNotClassDefining(GoogleCodingConventionTest.java:171) at com.google.javascript.jscomp.GoogleCodingConventionTest.testInheritanceDetectionPostCollapseProperties(GoogleCodingConventionTest.java:139)
| 0.001 |
| GoogleCodingConventionTest | testPackageNames | Success | | 0.001 |
| GroupVariableDeclarationsTest | testGroupingInitializedVarsInScope | Success | | 0.023 |
| GroupVariableDeclarationsTest | testGroupingVarsInForAndForInLoops | Success | | 0.027 |
| GroupVariableDeclarationsTest | testGroupingVarsInForAndForInLoops_initializer | Success | | 0.002 |
| GroupVariableDeclarationsTest | testGroupingVarsNestedFunction | Success | | 0.007 |
| GroupVariableDeclarationsTest | testGroupingVarsInnerFunction | Success | | 0.014 |
| GroupVariableDeclarationsTest | testGroupingVarsFirstStatementNotVar | Success | | 0.003 |
| GroupVariableDeclarationsTest | testGroupingUninitializedVarsInScope | Success | | 0.023 |
| GroupVariableDeclarationsTest | testGroupingVarsInScopeRegtest | Success | | 0.010 |
| ImplicitNullabilityCheckTest | testNullableTypedef | Success | | 0.007 |
| ImplicitNullabilityCheckTest | testExplicitJsdocDoesntWarn | Success | | 0.022 |
| ImplicitNullabilityCheckTest | testJsdocPositions | Success | | 0.019 |
| ImplicitNullabilityCheckTest | testUnkownTypenameDoesntWarn | Success | | 0.003 |
| InferConstsTest | testSimple | Success | | 0.002 |
| InferConstsTest | testArguments | Success | | 0.000 |
| InferJSDocInfoTest | testInterface | Success | | 0.010 |
| InferJSDocInfoTest | testAbstractMethod | Success | | 0.006 |
| InferJSDocInfoTest | testStructuralFunctions | Success | | 0.004 |
| InferJSDocInfoTest | testNativeCtor | Success | | 0.006 |
| InferJSDocInfoTest | testInstanceObject | Success | | 0.010 |
| InferJSDocInfoTest | testNamespacedCtor | Success | | 0.005 |
| InlineCostEstimatorTest | testCost | Success | | 0.008 |
| InlineFunctionsTest | testInlineFunctions1 | Success | | 0.003 |
| InlineFunctionsTest | testInlineEmptyFunction1 | Success | | 0.003 |
| InlineFunctionsTest | testInlineEmptyFunction2 | Success | | 0.003 |
| InlineFunctionsTest | testInlineEmptyFunction3 | Success | | 0.003 |
| InlineFunctionsTest | testInlineEmptyFunction4 | Success | | 0.002 |
| InlineFunctionsTest | testInlineEmptyFunction5 | Success | | 0.002 |
| InlineFunctionsTest | testInlineFunctions2 | Success | | 0.004 |
| InlineFunctionsTest | testInlineFunctions3 | Success | | 0.004 |
| InlineFunctionsTest | testInlineFunctions4 | Success | | 0.006 |
| InlineFunctionsTest | testInlineFunctions5 | Success | | 0.004 |
| InlineFunctionsTest | testInlineFunctions6 | Success | | 0.003 |
| InlineFunctionsTest | testInlineFunctions7 | Success | | 0.003 |
| InlineFunctionsTest | testInlineFunctions8 | Success | | 0.004 |
| InlineFunctionsTest | testInlineFunctions9 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_1 is not consistently annotated as constant.
Node(NAME x$$inline_1): testcode:1:23
function INC(x){return x++}var y=INC(i)
Parent(INC): testcode:1:23
function INC(x){return x++}var y=INC(i)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_1 is not consistently annotated as constant. Node(NAME x$$inline_1): testcode:1:23 function INC(x){return x++}var y=INC(i) Parent(INC): testcode:1:23 function INC(x){return x++}var y=INC(i)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineFunctions9(InlineFunctionsTest.java:185) Caused by: java.lang.IllegalStateException: The name x$$inline_1 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testInlineFunctions10 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineFunctions10(InlineFunctionsTest.java:192)
| 0.001 |
| InlineFunctionsTest | testInlineFunctions11 | Success | | 0.002 |
| InlineFunctionsTest | testInlineFunctions12 | Success | | 0.005 |
| InlineFunctionsTest | testInlineFunctions13 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_1 is not consistently annotated as constant.
Node(NAME x$$inline_1): testcode:1:21
function f(x){return x}var y=f(i++)
Parent(ASSIGN): testcode:1:14
function f(x){return x}var y=f(i++)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_1 is not consistently annotated as constant. Node(NAME x$$inline_1): testcode:1:21 function f(x){return x}var y=f(i++) Parent(ASSIGN): testcode:1:14 function f(x){return x}var y=f(i++)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineFunctions13(InlineFunctionsTest.java:219) Caused by: java.lang.IllegalStateException: The name x$$inline_1 is not consistently annotated as constant.
| 0.001 |
| InlineFunctionsTest | testInlineFunctions14 | Success | | 0.004 |
| InlineFunctionsTest | testInlineFunctions15a | Success | | 0.003 |
| InlineFunctionsTest | testInlineFunctions15b | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineFunctions15b(InlineFunctionsTest.java:255)
| 0.008 |
| InlineFunctionsTest | testInlineFunctions15c | Success | | 0.010 |
| InlineFunctionsTest | testInlineFunctions15d | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineFunctions15d(InlineFunctionsTest.java:301)
| 0.006 |
| InlineFunctionsTest | testInlineFunctions16a | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name b$$inline_1 is not consistently annotated as constant.
Node(NAME b$$inline_1): testcode:1:47
function foo(b){return window.bar(function(){c(b)})}var d=foo(e)
Parent(CALL): testcode:1:45
function foo(b){return window.bar(function(){c(b)})}var d=foo(e)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name b$$inline_1 is not consistently annotated as constant. Node(NAME b$$inline_1): testcode:1:47 function foo(b){return window.bar(function(){c(b)})}var d=foo(e) Parent(CALL): testcode:1:45 function foo(b){return window.bar(function(){c(b)})}var d=foo(e)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineFunctions16a(InlineFunctionsTest.java:324) Caused by: java.lang.IllegalStateException: The name b$$inline_1 is not consistently annotated as constant.
| 0.005 |
| InlineFunctionsTest | testInlineFunctions16b | Success | | 0.003 |
| InlineFunctionsTest | testInlineFunctions17 | Success | | 0.004 |
| InlineFunctionsTest | testInlineFunctions18 | Success | | 0.003 |
| InlineFunctionsTest | testInlineFunctions19 | Success | | 0.003 |
| InlineFunctionsTest | testInlineFunctions20 | Success | | 0.002 |
| InlineFunctionsTest | testInlineFunctions21 | Success | | 0.003 |
| InlineFunctionsTest | testInlineFunctions22 | Failure |
Expected: var d;JSCompiler_inline_label_plex_1:{if(1+2){d=0;break JSCompiler_inline_label_plex_1}else{d=1;break JSCompiler_inline_label_plex_1}d=void 0}
Result: var JSCompiler_inline_result$$0;JSCompiler_inline_label_plex_2:{if(1+2){JSCompiler_inline_result$$0=0;break JSCompiler_inline_label_plex_2}else{JSCompiler_inline_result$$0=1;break JSCompiler_inline_label_plex_2}JSCompiler_inline_result$$0=void 0}var d=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
ADD 1 [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
ADD 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME d 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
ADD 1 [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
ADD 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME d 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var d;JSCompiler_inline_label_plex_1:{if(1+2){d=0;break JSCompiler_inline_label_plex_1}else{d=1;break JSCompiler_inline_label_plex_1}d=void 0} Result: var JSCompiler_inline_result$$0;JSCompiler_inline_label_plex_2:{if(1+2){JSCompiler_inline_result$$0=0;break JSCompiler_inline_label_plex_2}else{JSCompiler_inline_result$$0=1;break JSCompiler_inline_label_plex_2}JSCompiler_inline_result$$0=void 0}var d=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] ADD 1 [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] NUMBER 2.0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] ADD 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME d 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] ADD 1 [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] NUMBER 2.0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_plex_1 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] ADD 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_plex_2 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME d 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineFunctions22(InlineFunctionsTest.java:379)
| 0.006 |
| InlineFunctionsTest | testInlineFunctions23 | Failure |
Expected: var d;JSCompiler_inline_label_complex_1:{if(1+2){d=0;break JSCompiler_inline_label_complex_1}else{d=1;break JSCompiler_inline_label_complex_1}d=void 0}
Result: var JSCompiler_inline_result$$0;JSCompiler_inline_label_complex_2:{if(1+2){JSCompiler_inline_result$$0=0;break JSCompiler_inline_label_complex_2}else{JSCompiler_inline_result$$0=1;break JSCompiler_inline_label_complex_2}JSCompiler_inline_result$$0=void 0}var d=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
ADD 1 [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
ADD 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME d 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
ADD 1 [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME d 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
ADD 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME d 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var d;JSCompiler_inline_label_complex_1:{if(1+2){d=0;break JSCompiler_inline_label_complex_1}else{d=1;break JSCompiler_inline_label_complex_1}d=void 0} Result: var JSCompiler_inline_result$$0;JSCompiler_inline_label_complex_2:{if(1+2){JSCompiler_inline_result$$0=0;break JSCompiler_inline_label_complex_2}else{JSCompiler_inline_result$$0=1;break JSCompiler_inline_label_complex_2}JSCompiler_inline_result$$0=void 0}var d=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] ADD 1 [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] NUMBER 2.0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] ADD 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME d 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] ADD 1 [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] NUMBER 2.0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_complex_1 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME d 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] ADD 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_complex_2 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME d 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineFunctions23(InlineFunctionsTest.java:393)
| 0.007 |
| InlineFunctionsTest | testInlineFunctions24 | Success | | 0.003 |
| InlineFunctionsTest | testInlineFunctions25 | Success | | 0.004 |
| InlineFunctionsTest | testInlineFunctions26 | Success | | 0.004 |
| InlineFunctionsTest | testInlineFunctions27 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineFunctions27(InlineFunctionsTest.java:421)
| 0.002 |
| InlineFunctionsTest | testInlineFunctions28 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineFunctions28(InlineFunctionsTest.java:433)
| 0.002 |
| InlineFunctionsTest | testInlineFunctions29 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineFunctions29(InlineFunctionsTest.java:448)
| 0.003 |
| InlineFunctionsTest | testInlineFunctions30 | Success | | 0.005 |
| InlineFunctionsTest | testInlineFunctions31 | Success | | 0.005 |
| InlineFunctionsTest | testMixedModeInlining1 | Success | | 0.003 |
| InlineFunctionsTest | testMixedModeInlining2 | Success | | 0.004 |
| InlineFunctionsTest | testMixedModeInlining3 | Success | | 0.005 |
| InlineFunctionsTest | testMixedModeInlining4 | Success | | 0.005 |
| InlineFunctionsTest | testMixedModeInliningCosting1 | Success | | 0.006 |
| InlineFunctionsTest | testMixedModeInliningCosting2 | Success | | 0.006 |
| InlineFunctionsTest | testMixedModeInliningCosting3 | Success | | 0.005 |
| InlineFunctionsTest | testMixedModeInliningCosting4 | Success | | 0.007 |
| InlineFunctionsTest | testNoInlineIfParametersModified1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:21
function f(x){return x=1}f(undefined)
Parent(ASSIGN): testcode:1:21
function f(x){return x=1}f(undefined)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:21 function f(x){return x=1}f(undefined) Parent(ASSIGN): testcode:1:21 function f(x){return x=1}f(undefined)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testNoInlineIfParametersModified1(InlineFunctionsTest.java:553) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testNoInlineIfParametersModified2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:22
function f(x){return (x)=1;}f(2)
Parent(ASSIGN): testcode:1:21
function f(x){return (x)=1;}f(2)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:22 function f(x){return (x)=1;}f(2) Parent(ASSIGN): testcode:1:21 function f(x){return (x)=1;}f(2)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testNoInlineIfParametersModified2(InlineFunctionsTest.java:559) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.003 |
| InlineFunctionsTest | testNoInlineIfParametersModified3 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:21
function f(x){return x*=2}f(2)
Parent(ASSIGN_MUL): testcode:1:21
function f(x){return x*=2}f(2)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:21 function f(x){return x*=2}f(2) Parent(ASSIGN_MUL): testcode:1:21 function f(x){return x*=2}f(2)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testNoInlineIfParametersModified3(InlineFunctionsTest.java:566) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.001 |
| InlineFunctionsTest | testNoInlineIfParametersModified4 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:21
function f(x){return x?(x=2):0}f(2)
Parent(HOOK): testcode:1:21
function f(x){return x?(x=2):0}f(2)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:21 function f(x){return x?(x=2):0}f(2) Parent(HOOK): testcode:1:21 function f(x){return x?(x=2):0}f(2)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testNoInlineIfParametersModified4(InlineFunctionsTest.java:573) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.001 |
| InlineFunctionsTest | testNoInlineIfParametersModified5 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name y$$inline_1 is not consistently annotated as constant.
Node(NAME y$$inline_1): testcode:1:26
function f(x,y){return x?(y=2):0}f(2,undefined)
Parent(ASSIGN): testcode:1:26
function f(x,y){return x?(y=2):0}f(2,undefined)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name y$$inline_1 is not consistently annotated as constant. Node(NAME y$$inline_1): testcode:1:26 function f(x,y){return x?(y=2):0}f(2,undefined) Parent(ASSIGN): testcode:1:26 function f(x,y){return x?(y=2):0}f(2,undefined)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testNoInlineIfParametersModified5(InlineFunctionsTest.java:581) Caused by: java.lang.IllegalStateException: The name y$$inline_1 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testNoInlineIfParametersModified6 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name y$$inline_1 is not consistently annotated as constant.
Node(NAME y$$inline_1): testcode:1:26
function f(x,y){return x?(y=2):0}f(2)
Parent(ASSIGN): testcode:1:26
function f(x,y){return x?(y=2):0}f(2)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name y$$inline_1 is not consistently annotated as constant. Node(NAME y$$inline_1): testcode:1:26 function f(x,y){return x?(y=2):0}f(2) Parent(ASSIGN): testcode:1:26 function f(x,y){return x?(y=2):0}f(2)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testNoInlineIfParametersModified6(InlineFunctionsTest.java:587) Caused by: java.lang.IllegalStateException: The name y$$inline_1 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testNoInlineIfParametersModified7 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a$$inline_0 is not consistently annotated as constant.
Node(NAME a$$inline_0): testcode:1:22
function f(a){return++a<++a}f(1)
Parent(INC): testcode:1:20
function f(a){return++a<++a}f(1)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a$$inline_0 is not consistently annotated as constant. Node(NAME a$$inline_0): testcode:1:22 function f(a){return++a<++a}f(1) Parent(INC): testcode:1:20 function f(a){return++a<++a}f(1)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testNoInlineIfParametersModified7(InlineFunctionsTest.java:594) Caused by: java.lang.IllegalStateException: The name a$$inline_0 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testInlineIfParametersModified8 | Success | | 0.003 |
| InlineFunctionsTest | testInlineIfParametersModified9 | Success | | 0.004 |
| InlineFunctionsTest | testInlineNeverPartialSubtitution1 | Success | | 0.003 |
| InlineFunctionsTest | testInlineNeverPartialSubtitution2 | Success | | 0.003 |
| InlineFunctionsTest | testInlineNeverMutateConstants | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:21
function f(x){return x=1}f(undefined)
Parent(ASSIGN): testcode:1:21
function f(x){return x=1}f(undefined)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:21 function f(x){return x=1}f(undefined) Parent(ASSIGN): testcode:1:21 function f(x){return x=1}f(undefined)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineNeverMutateConstants(InlineFunctionsTest.java:621) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.003 |
| InlineFunctionsTest | testInlineNeverOverrideNewValues | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a$$inline_0 is not consistently annotated as constant.
Node(NAME a$$inline_0): testcode:1:22
function f(a){return++a<++a}f(1)
Parent(INC): testcode:1:20
function f(a){return++a<++a}f(1)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a$$inline_0 is not consistently annotated as constant. Node(NAME a$$inline_0): testcode:1:22 function f(a){return++a<++a}f(1) Parent(INC): testcode:1:20 function f(a){return++a<++a}f(1)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineNeverOverrideNewValues(InlineFunctionsTest.java:627) Caused by: java.lang.IllegalStateException: The name a$$inline_0 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testInlineMutableArgsReferencedOnce | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:23
function foo(x){return x;}foo([])
Parent(EXPR_RESULT): testcode:1:23
function foo(x){return x;}foo([])
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:23 function foo(x){return x;}foo([]) Parent(EXPR_RESULT): testcode:1:23 function foo(x){return x;}foo([])
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineMutableArgsReferencedOnce(InlineFunctionsTest.java:633) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testInlineMutableArgsReferencedOnce2 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineMutableArgsReferencedOnce2(InlineFunctionsTest.java:643)
| 0.002 |
| InlineFunctionsTest | testInlineMutableArgsReferencedOnce3 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a$$inline_0 is not consistently annotated as constant.
Node(NAME a$$inline_0): testcode:3:6
g(a);
Parent(CALL): testcode:3:4
g(a);
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a$$inline_0 is not consistently annotated as constant. Node(NAME a$$inline_0): testcode:3:6 g(a); Parent(CALL): testcode:3:4 g(a);
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineMutableArgsReferencedOnce3(InlineFunctionsTest.java:656) Caused by: java.lang.IllegalStateException: The name a$$inline_0 is not consistently annotated as constant.
| 0.003 |
| InlineFunctionsTest | testNoInlineMutableArgs1 | Success | | 0.004 |
| InlineFunctionsTest | testNoInlineMutableArgs2 | Success | | 0.004 |
| InlineFunctionsTest | testNoInlineMutableArgs3 | Success | | 0.003 |
| InlineFunctionsTest | testNoInlineMutableArgs4 | Success | | 0.002 |
| InlineFunctionsTest | testInlineBlockMutableArgs1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:16
function foo(x){x+x}foo([])
Parent(ADD): testcode:1:16
function foo(x){x+x}foo([])
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:16 function foo(x){x+x}foo([]) Parent(ADD): testcode:1:16 function foo(x){x+x}foo([])
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineBlockMutableArgs1(InlineFunctionsTest.java:693) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testInlineBlockMutableArgs2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:16
function foo(x){x+x}foo(new Date)
Parent(ADD): testcode:1:16
function foo(x){x+x}foo(new Date)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:16 function foo(x){x+x}foo(new Date) Parent(ADD): testcode:1:16 function foo(x){x+x}foo(new Date)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineBlockMutableArgs2(InlineFunctionsTest.java:699) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testInlineBlockMutableArgs3 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:16
function foo(x){x+x}foo(true&&new Date)
Parent(ADD): testcode:1:16
function foo(x){x+x}foo(true&&new Date)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:16 function foo(x){x+x}foo(true&&new Date) Parent(ADD): testcode:1:16 function foo(x){x+x}foo(true&&new Date)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineBlockMutableArgs3(InlineFunctionsTest.java:705) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testInlineBlockMutableArgs4 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:16
function foo(x){x+x}foo({})
Parent(ADD): testcode:1:16
function foo(x){x+x}foo({})
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:16 function foo(x){x+x}foo({}) Parent(ADD): testcode:1:16 function foo(x){x+x}foo({})
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineBlockMutableArgs4(InlineFunctionsTest.java:711) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testShadowVariables1 | Success | | 0.005 |
| InlineFunctionsTest | testShadowVariables2 | Success | | 0.003 |
| InlineFunctionsTest | testShadowVariables3 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testShadowVariables3(InlineFunctionsTest.java:746)
| 0.002 |
| InlineFunctionsTest | testShadowVariables4 | Success | | 0.003 |
| InlineFunctionsTest | testShadowVariables5 | Success | | 0.005 |
| InlineFunctionsTest | testShadowVariables6 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testShadowVariables6(InlineFunctionsTest.java:777)
| 0.003 |
| InlineFunctionsTest | testShadowVariables7 | Success | | 0.007 |
| InlineFunctionsTest | testShadowVariables8 | Success | | 0.003 |
| InlineFunctionsTest | testShadowVariables9 | Success | | 0.002 |
| InlineFunctionsTest | testShadowVariables10 | Success | | 0.003 |
| InlineFunctionsTest | testShadowVariables11 | Success | | 0.005 |
| InlineFunctionsTest | testShadowVariables12 | Success | | 0.005 |
| InlineFunctionsTest | testShadowVariables13 | Success | | 0.004 |
| InlineFunctionsTest | testShadowVariables14 | Success | | 0.006 |
| InlineFunctionsTest | testShadowVariables15 | Success | | 0.005 |
| InlineFunctionsTest | testShadowVariables16 | Success | | 0.008 |
| InlineFunctionsTest | testShadowVariables17 | Success | | 0.004 |
| InlineFunctionsTest | testShadowVariables18 | Failure |
Expected: var a=0;function _goo(){var a$$2=2;var x;var a$$inline_0=3;x=a+a}
Result: var a=0;function _goo(){var a$$2=2;var JSCompiler_inline_result$$0;var a$$inline_1=3;JSCompiler_inline_result$$0=a+a;var x=JSCompiler_inline_result$$0}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
FUNCTION _goo 1 [source_file: expected0]
NAME _goo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME a$$2 1 [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME a$$inline_0 1 [source_file: expected0]
NUMBER 3.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
ADD 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NUMBER 0.0 1 [source_file: testcode]
FUNCTION _goo 1 [source_file: testcode]
NAME _goo 1 [source_file: testcode] [is_constant_var: 1]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME a$$2 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NUMBER 2.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME a$$inline_1 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NUMBER 3.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
ADD 1 [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME a$$2 1 [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME a$$inline_0 1 [source_file: expected0]
NUMBER 3.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
ADD 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME a$$2 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NUMBER 2.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME a$$inline_1 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NUMBER 3.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
ADD 1 [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var a=0;function _goo(){var a$$2=2;var x;var a$$inline_0=3;x=a+a} Result: var a=0;function _goo(){var a$$2=2;var JSCompiler_inline_result$$0;var a$$inline_1=3;JSCompiler_inline_result$$0=a+a;var x=JSCompiler_inline_result$$0} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] FUNCTION _goo 1 [source_file: expected0] NAME _goo 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME a$$2 1 [source_file: expected0] NUMBER 2.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME a$$inline_0 1 [source_file: expected0] NUMBER 3.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] ADD 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NUMBER 0.0 1 [source_file: testcode] FUNCTION _goo 1 [source_file: testcode] NAME _goo 1 [source_file: testcode] [is_constant_var: 1] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME a$$2 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NUMBER 2.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME a$$inline_1 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NUMBER 3.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] ADD 1 [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME a$$2 1 [source_file: expected0] NUMBER 2.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME a$$inline_0 1 [source_file: expected0] NUMBER 3.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] ADD 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME a$$2 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NUMBER 2.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME a$$inline_1 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NUMBER 3.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] ADD 1 [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testShadowVariables18(InlineFunctionsTest.java:914)
| 0.004 |
| InlineFunctionsTest | testCostBasedInlining1 | Success | | 0.003 |
| InlineFunctionsTest | testCostBasedInlining2 | Success | | 0.003 |
| InlineFunctionsTest | testCostBasedInlining3 | Success | | 0.004 |
| InlineFunctionsTest | testCostBasedInlining4 | Success | | 0.006 |
| InlineFunctionsTest | testCostBasedInlining5 | Success | | 0.003 |
| InlineFunctionsTest | testCostBasedInlining6 | Success | | 0.006 |
| InlineFunctionsTest | testCostBasedInlining7 | Success | | 0.011 |
| InlineFunctionsTest | testCostBasedInlining8 | Success | | 0.006 |
| InlineFunctionsTest | testCostBasedInlining9 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a$$inline_1 is not consistently annotated as constant.
Node(NAME a$$inline_1): testcode:1:29
function f(a){return chg() + a + a;}var a = f(f(1));
Parent(ADD): testcode:1:21
function f(a){return chg() + a + a;}var a = f(f(1));
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a$$inline_1 is not consistently annotated as constant. Node(NAME a$$inline_1): testcode:1:29 function f(a){return chg() + a + a;}var a = f(f(1)); Parent(ADD): testcode:1:21 function f(a){return chg() + a + a;}var a = f(f(1));
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testCostBasedInlining9(InlineFunctionsTest.java:1017) Caused by: java.lang.IllegalStateException: The name a$$inline_1 is not consistently annotated as constant.
| 0.003 |
| InlineFunctionsTest | testCostBasedInlining10 | Success | | 0.004 |
| InlineFunctionsTest | testCostBasedInlining11 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a$$inline_1 is not consistently annotated as constant.
Node(NAME a$$inline_1): testcode:1:29
function f(a){return chg() + a + a;}var a = f(f(1))
Parent(ADD): testcode:1:21
function f(a){return chg() + a + a;}var a = f(f(1))
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a$$inline_1 is not consistently annotated as constant. Node(NAME a$$inline_1): testcode:1:29 function f(a){return chg() + a + a;}var a = f(f(1)) Parent(ADD): testcode:1:21 function f(a){return chg() + a + a;}var a = f(f(1))
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testCostBasedInlining11(InlineFunctionsTest.java:1034) Caused by: java.lang.IllegalStateException: The name a$$inline_1 is not consistently annotated as constant.
| 0.003 |
| InlineFunctionsTest | testCostBasedInlining12 | Success | | 0.004 |
| InlineFunctionsTest | testCostBasedInliningComplex1 | Success | | 0.004 |
| InlineFunctionsTest | testCostBasedInliningComplex2 | Success | | 0.003 |
| InlineFunctionsTest | testCostBasedInliningComplex3 | Success | | 0.005 |
| InlineFunctionsTest | testCostBasedInliningComplex4 | Success | | 0.004 |
| InlineFunctionsTest | testCostBasedInliningComplex5 | Success | | 0.005 |
| InlineFunctionsTest | testCostBasedInliningComplex6 | Success | | 0.008 |
| InlineFunctionsTest | testCostBasedInliningComplex7 | Success | | 0.007 |
| InlineFunctionsTest | testCostBasedInliningComplex8 | Success | | 0.004 |
| InlineFunctionsTest | testCostBasedInliningComplex9 | Success | | 0.005 |
| InlineFunctionsTest | testDoubleInlining1 | Success | | 0.002 |
| InlineFunctionsTest | testDoubleInlining2 | Success | | 0.002 |
| InlineFunctionsTest | testNoInlineOfNonGlobalFunction1 | Success | | 0.003 |
| InlineFunctionsTest | testNoInlineOfNonGlobalFunction2 | Success | | 0.004 |
| InlineFunctionsTest | testNoInlineOfNonGlobalFunction3 | Success | | 0.004 |
| InlineFunctionsTest | testNoInlineOfNonGlobalFunction4 | Success | | 0.003 |
| InlineFunctionsTest | testNoInlineMaskedFunction | Success | | 0.002 |
| InlineFunctionsTest | testNoInlineNonFunction | Success | | 0.002 |
| InlineFunctionsTest | testInlineCall | Success | | 0.002 |
| InlineFunctionsTest | testInlineFunctionWithArgsMismatch1 | Success | | 0.002 |
| InlineFunctionsTest | testInlineFunctionWithArgsMismatch2 | Success | | 0.004 |
| InlineFunctionsTest | testInlineFunctionWithArgsMismatch3 | Success | | 0.003 |
| InlineFunctionsTest | testInlineFunctionWithArgsMismatch4 | Success | | 0.002 |
| InlineFunctionsTest | testArgumentsWithSideEffectsNeverInlined1 | Success | | 0.003 |
| InlineFunctionsTest | testArgumentsWithSideEffectsNeverInlined2 | Success | | 0.006 |
| InlineFunctionsTest | testOneSideEffectCallDoesNotRuinOthers | Success | | 0.004 |
| InlineFunctionsTest | testComplexInlineNoResultNoParamCall1 | Success | | 0.002 |
| InlineFunctionsTest | testComplexInlineNoResultNoParamCall2 | Success | | 0.003 |
| InlineFunctionsTest | testComplexInlineNoResultNoParamCall3 | Success | | 0.003 |
| InlineFunctionsTest | testComplexInlineNoResultWithParamCall1 | Success | | 0.003 |
| InlineFunctionsTest | testComplexInlineNoResultWithParamCall2 | Success | | 0.002 |
| InlineFunctionsTest | testComplexInlineNoResultWithParamCall3 | Success | | 0.003 |
| InlineFunctionsTest | testComplexInline1 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInline1(InlineFunctionsTest.java:1271)
| 0.001 |
| InlineFunctionsTest | testComplexInline2 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInline2(InlineFunctionsTest.java:1278)
| 0.002 |
| InlineFunctionsTest | testComplexInline3 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInline3(InlineFunctionsTest.java:1285)
| 0.001 |
| InlineFunctionsTest | testComplexInline4 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInline4(InlineFunctionsTest.java:1292)
| 0.001 |
| InlineFunctionsTest | testComplexInline5 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInline5(InlineFunctionsTest.java:1297)
| 0.002 |
| InlineFunctionsTest | testComplexInline6 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInline6(InlineFunctionsTest.java:1302)
| 0.002 |
| InlineFunctionsTest | testComplexInline7 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInline7(InlineFunctionsTest.java:1307)
| 0.001 |
| InlineFunctionsTest | testComplexInline8 | Failure |
Expected: var z;a(1);z=void 0
Result: var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var z;a(1);z=void 0 Result: var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInline8(InlineFunctionsTest.java:1315)
| 0.002 |
| InlineFunctionsTest | testComplexInlineVars1 | Failure |
Expected: var z;JSCompiler_inline_label_f_0:{if(true){z=void 0;break JSCompiler_inline_label_f_0}else;z=void 0}
Result: var JSCompiler_inline_result$$0;JSCompiler_inline_label_f_1:{if(true){JSCompiler_inline_result$$0=void 0;break JSCompiler_inline_label_f_1}else;JSCompiler_inline_result$$0=void 0}var z=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var z;JSCompiler_inline_label_f_0:{if(true){z=void 0;break JSCompiler_inline_label_f_0}else;z=void 0} Result: var JSCompiler_inline_result$$0;JSCompiler_inline_label_f_1:{if(true){JSCompiler_inline_result$$0=void 0;break JSCompiler_inline_label_f_1}else;JSCompiler_inline_result$$0=void 0}var z=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars1(InlineFunctionsTest.java:1320)
| 0.003 |
| InlineFunctionsTest | testComplexInlineVars2 | Failure |
Expected: var z;JSCompiler_inline_label_f_0:{if(true){z=void 0;break JSCompiler_inline_label_f_0}else{z=void 0;break JSCompiler_inline_label_f_0}z=void 0}
Result: var JSCompiler_inline_result$$0;JSCompiler_inline_label_f_1:{if(true){JSCompiler_inline_result$$0=void 0;break JSCompiler_inline_label_f_1}else{JSCompiler_inline_result$$0=void 0;break JSCompiler_inline_label_f_1}JSCompiler_inline_result$$0=void 0}var z=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var z;JSCompiler_inline_label_f_0:{if(true){z=void 0;break JSCompiler_inline_label_f_0}else{z=void 0;break JSCompiler_inline_label_f_0}z=void 0} Result: var JSCompiler_inline_result$$0;JSCompiler_inline_label_f_1:{if(true){JSCompiler_inline_result$$0=void 0;break JSCompiler_inline_label_f_1}else{JSCompiler_inline_result$$0=void 0;break JSCompiler_inline_label_f_1}JSCompiler_inline_result$$0=void 0}var z=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars2(InlineFunctionsTest.java:1326)
| 0.004 |
| InlineFunctionsTest | testComplexInlineVars3 | Failure |
Expected: var z;JSCompiler_inline_label_f_0:{if(true){z=1;break JSCompiler_inline_label_f_0}else{z=0;break JSCompiler_inline_label_f_0}z=void 0}
Result: var JSCompiler_inline_result$$0;JSCompiler_inline_label_f_1:{if(true){JSCompiler_inline_result$$0=1;break JSCompiler_inline_label_f_1}else{JSCompiler_inline_result$$0=0;break JSCompiler_inline_label_f_1}JSCompiler_inline_result$$0=void 0}var z=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var z;JSCompiler_inline_label_f_0:{if(true){z=1;break JSCompiler_inline_label_f_0}else{z=0;break JSCompiler_inline_label_f_0}z=void 0} Result: var JSCompiler_inline_result$$0;JSCompiler_inline_label_f_1:{if(true){JSCompiler_inline_result$$0=1;break JSCompiler_inline_label_f_1}else{JSCompiler_inline_result$$0=0;break JSCompiler_inline_label_f_1}JSCompiler_inline_result$$0=void 0}var z=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars3(InlineFunctionsTest.java:1334)
| 0.004 |
| InlineFunctionsTest | testComplexInlineVars4 | Failure |
Expected: var z;a(1);z=void 0
Result: var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var z;a(1);z=void 0 Result: var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars4(InlineFunctionsTest.java:1342)
| 0.003 |
| InlineFunctionsTest | testComplexInlineVars5 | Failure |
Expected: var b=1;var z;a(1);z=void 0
Result: var b=1;var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NUMBER 1.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NUMBER 1.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var b=1;var z;a(1);z=void 0 Result: var b=1;var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NUMBER 1.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NUMBER 1.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars5(InlineFunctionsTest.java:1347)
| 0.005 |
| InlineFunctionsTest | testComplexInlineVars6 | Failure |
Expected: var b=1;var z;if(1)b();z=true
Result: var b=1;var JSCompiler_inline_result$$0;if(1)b();JSCompiler_inline_result$$0=true;var z=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
TRUE 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NUMBER 1.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
TRUE 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NUMBER 1.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var b=1;var z;if(1)b();z=true Result: var b=1;var JSCompiler_inline_result$$0;if(1)b();JSCompiler_inline_result$$0=true;var z=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] TRUE 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NUMBER 1.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] TRUE 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] TRUE 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NUMBER 1.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] TRUE 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars6(InlineFunctionsTest.java:1352)
| 0.004 |
| InlineFunctionsTest | testComplexInlineVars7 | Failure |
Expected: var b=1;var z;JSCompiler_inline_label_f_2:{if(1){z=b();break JSCompiler_inline_label_f_2}else{z=true;break JSCompiler_inline_label_f_2}z=void 0}
Result: var b=1;var JSCompiler_inline_result$$0;JSCompiler_inline_label_f_3:{if(1){JSCompiler_inline_result$$0=b();break JSCompiler_inline_label_f_3}else{JSCompiler_inline_result$$0=true;break JSCompiler_inline_label_f_3}JSCompiler_inline_result$$0=void 0}var z=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
TRUE 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NUMBER 1.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
TRUE 1 [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NUMBER 1.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var b=1;var z;JSCompiler_inline_label_f_2:{if(1){z=b();break JSCompiler_inline_label_f_2}else{z=true;break JSCompiler_inline_label_f_2}z=void 0} Result: var b=1;var JSCompiler_inline_result$$0;JSCompiler_inline_label_f_3:{if(1){JSCompiler_inline_result$$0=b();break JSCompiler_inline_label_f_3}else{JSCompiler_inline_result$$0=true;break JSCompiler_inline_label_f_3}JSCompiler_inline_result$$0=void 0}var z=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] TRUE 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NUMBER 1.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] TRUE 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] TRUE 1 [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_2 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NUMBER 1.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] TRUE 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_3 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars7(InlineFunctionsTest.java:1357)
| 0.005 |
| InlineFunctionsTest | testComplexInlineVars8 | Failure |
Expected: var x;var z;a(1);z=void 0
Result: var x;var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var x;var z;a(1);z=void 0 Result: var x;var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars8(InlineFunctionsTest.java:1367)
| 0.006 |
| InlineFunctionsTest | testComplexInlineVars9 | Failure |
Expected: var x;var z;a(1);z=void 0;var y
Result: var x;var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0;var y
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
junit.framework.AssertionFailedError: Expected: var x;var z;a(1);z=void 0;var y Result: var x;var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0;var y Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars9(InlineFunctionsTest.java:1372)
| 0.004 |
| InlineFunctionsTest | testComplexInlineVars10 | Failure |
Expected: var x=blah();var z;a(1);z=void 0;var y=blah()
Result: var x=blah();var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0;var y=blah()
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME blah 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME blah 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
CALL 1 [free_call: 1] [source_file: testcode]
NAME blah 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
CALL 1 [free_call: 1] [source_file: testcode]
NAME blah 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME blah 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME blah 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
CALL 1 [free_call: 1] [source_file: testcode]
NAME blah 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
CALL 1 [free_call: 1] [source_file: testcode]
NAME blah 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var x=blah();var z;a(1);z=void 0;var y=blah() Result: var x=blah();var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0;var y=blah() Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME blah 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME blah 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] CALL 1 [free_call: 1] [source_file: testcode] NAME blah 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] CALL 1 [free_call: 1] [source_file: testcode] NAME blah 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME blah 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME blah 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] CALL 1 [free_call: 1] [source_file: testcode] NAME blah 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] CALL 1 [free_call: 1] [source_file: testcode] NAME blah 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars10(InlineFunctionsTest.java:1377)
| 0.005 |
| InlineFunctionsTest | testComplexInlineVars11 | Failure |
Expected: var x=blah();var z;a(1);z=void 0;var y
Result: var x=blah();var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0;var y
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME blah 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
CALL 1 [free_call: 1] [source_file: testcode]
NAME blah 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME blah 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
CALL 1 [free_call: 1] [source_file: testcode]
NAME blah 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
junit.framework.AssertionFailedError: Expected: var x=blah();var z;a(1);z=void 0;var y Result: var x=blah();var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0;var y Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME blah 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] CALL 1 [free_call: 1] [source_file: testcode] NAME blah 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME blah 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] CALL 1 [free_call: 1] [source_file: testcode] NAME blah 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars11(InlineFunctionsTest.java:1382)
| 0.004 |
| InlineFunctionsTest | testComplexInlineVars12 | Failure |
Expected: var x;var z;a(1);z=void 0;var y=blah()
Result: var x;var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0;var y=blah()
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME blah 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
CALL 1 [free_call: 1] [source_file: testcode]
NAME blah 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME blah 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
CALL 1 [free_call: 1] [source_file: testcode]
NAME blah 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var x;var z;a(1);z=void 0;var y=blah() Result: var x;var JSCompiler_inline_result$$0;a(1);JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0;var y=blah() Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME blah 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] CALL 1 [free_call: 1] [source_file: testcode] NAME blah 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME blah 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] CALL 1 [free_call: 1] [source_file: testcode] NAME blah 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineVars12(InlineFunctionsTest.java:1387)
| 0.004 |
| InlineFunctionsTest | testComplexInlineInExpressionss1 | Failure |
Expected: var z;a();z=void 0
Result: var JSCompiler_inline_result$$0;a();JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME a 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var z;a();z=void 0 Result: var JSCompiler_inline_result$$0;a();JSCompiler_inline_result$$0=void 0;var z=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME a 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineInExpressionss1(InlineFunctionsTest.java:1392)
| 0.003 |
| InlineFunctionsTest | testComplexInlineInExpressionss2 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineInExpressionss2(InlineFunctionsTest.java:1397)
| 0.002 |
| InlineFunctionsTest | testComplexInlineInExpressionss3 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineInExpressionss3(InlineFunctionsTest.java:1404)
| 0.002 |
| InlineFunctionsTest | testComplexInlineInExpressionss4 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineInExpressionss4(InlineFunctionsTest.java:1411)
| 0.002 |
| InlineFunctionsTest | testComplexInlineInExpressionss5 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexInlineInExpressionss5(InlineFunctionsTest.java:1418)
| 0.002 |
| InlineFunctionsTest | testComplexNoInline1 | Success | | 0.004 |
| InlineFunctionsTest | testComplexNoInline2 | Success | | 0.003 |
| InlineFunctionsTest | testComplexSample | Failure |
Expected: var styleSheet$$inline_2=null;if(goog$userAgent$IE)styleSheet$$inline_2=0;else var head$$inline_3=0;var element$$inline_0=styleSheet$$inline_2;var stylesString$$inline_1=a;if(goog$userAgent$IE)element$$inline_0.cssText=stylesString$$inline_1;else{var propToSet$$inline_2="innerText";element$$inline_0[propToSet$$inline_2]=stylesString$$inline_1}styleSheet$$inline_2
Result: var styleSheet$$inline_2=null;if(goog$userAgent$IE)styleSheet$$inline_2=0;else var head$$inline_3=0;var element$$inline_0=styleSheet$$inline_2;if(goog$userAgent$IE)element$$inline_0.cssText=a;else{var propToSet$$inline_2="innerText";element$$inline_0[propToSet$$inline_2]=a}styleSheet$$inline_2
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
BLOCK 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME styleSheet$$inline_2 1 [source_file: expected0]
NULL 1 [source_file: expected0]
IF 1 [source_file: expected0]
NAME goog$userAgent$IE 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME styleSheet$$inline_2 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME head$$inline_3 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME element$$inline_0 1 [source_file: expected0]
NAME styleSheet$$inline_2 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME stylesString$$inline_1 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
IF 1 [source_file: expected0]
NAME goog$userAgent$IE 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME element$$inline_0 1 [source_file: expected0]
STRING cssText 1 [source_file: expected0]
NAME stylesString$$inline_1 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME propToSet$$inline_2 1 [source_file: expected0]
STRING innerText 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETELEM 1 [source_file: expected0]
NAME element$$inline_0 1 [source_file: expected0]
NAME propToSet$$inline_2 1 [source_file: expected0]
NAME stylesString$$inline_1 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NAME styleSheet$$inline_2 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
BLOCK 2 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME styleSheet$$inline_2 1 [source_file: testcode]
NULL 1 [source_file: testcode]
IF 1 [source_file: testcode]
NAME goog$userAgent$IE 1 [is_constant_name: 1] [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME styleSheet$$inline_2 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
VAR 1 [source_file: testcode]
NAME head$$inline_3 1 [source_file: testcode] [is_constant_var: 1]
NUMBER 0.0 1 [source_file: testcode]
BLOCK 2 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME element$$inline_0 1 [source_file: testcode]
NAME styleSheet$$inline_2 1 [source_file: testcode]
IF 2 [source_file: testcode]
NAME goog$userAgent$IE 2 [is_constant_name: 1] [source_file: testcode]
BLOCK 2 [added_block: 1] [source_file: testcode]
EXPR_RESULT 2 [source_file: testcode]
ASSIGN 2 [source_file: testcode]
GETPROP 2 [source_file: testcode]
NAME element$$inline_0 2 [source_file: testcode]
STRING cssText 2 [source_file: testcode]
NAME a 2 [is_constant_name: 1] [source_file: testcode]
BLOCK 2 [source_file: testcode]
VAR 2 [source_file: testcode]
NAME propToSet$$inline_2 2 [source_file: testcode] [is_constant_var: 1]
STRING innerText 2 [source_file: testcode]
EXPR_RESULT 2 [source_file: testcode]
ASSIGN 2 [source_file: testcode]
GETELEM 2 [source_file: testcode]
NAME element$$inline_0 2 [source_file: testcode]
NAME propToSet$$inline_2 2 [source_file: testcode]
NAME a 2 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME styleSheet$$inline_2 1 [source_file: testcode]
Expected subtree: BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME element$$inline_0 1 [source_file: expected0]
NAME styleSheet$$inline_2 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME stylesString$$inline_1 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
IF 1 [source_file: expected0]
NAME goog$userAgent$IE 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME element$$inline_0 1 [source_file: expected0]
STRING cssText 1 [source_file: expected0]
NAME stylesString$$inline_1 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME propToSet$$inline_2 1 [source_file: expected0]
STRING innerText 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETELEM 1 [source_file: expected0]
NAME element$$inline_0 1 [source_file: expected0]
NAME propToSet$$inline_2 1 [source_file: expected0]
NAME stylesString$$inline_1 1 [source_file: expected0]
Actual subtree: BLOCK 2 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME element$$inline_0 1 [source_file: testcode]
NAME styleSheet$$inline_2 1 [source_file: testcode]
IF 2 [source_file: testcode]
NAME goog$userAgent$IE 2 [is_constant_name: 1] [source_file: testcode]
BLOCK 2 [added_block: 1] [source_file: testcode]
EXPR_RESULT 2 [source_file: testcode]
ASSIGN 2 [source_file: testcode]
GETPROP 2 [source_file: testcode]
NAME element$$inline_0 2 [source_file: testcode]
STRING cssText 2 [source_file: testcode]
NAME a 2 [is_constant_name: 1] [source_file: testcode]
BLOCK 2 [source_file: testcode]
VAR 2 [source_file: testcode]
NAME propToSet$$inline_2 2 [source_file: testcode] [is_constant_var: 1]
STRING innerText 2 [source_file: testcode]
EXPR_RESULT 2 [source_file: testcode]
ASSIGN 2 [source_file: testcode]
GETELEM 2 [source_file: testcode]
NAME element$$inline_0 2 [source_file: testcode]
NAME propToSet$$inline_2 2 [source_file: testcode]
NAME a 2 [is_constant_name: 1] [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var styleSheet$$inline_2=null;if(goog$userAgent$IE)styleSheet$$inline_2=0;else var head$$inline_3=0;var element$$inline_0=styleSheet$$inline_2;var stylesString$$inline_1=a;if(goog$userAgent$IE)element$$inline_0.cssText=stylesString$$inline_1;else{var propToSet$$inline_2="innerText";element$$inline_0[propToSet$$inline_2]=stylesString$$inline_1}styleSheet$$inline_2 Result: var styleSheet$$inline_2=null;if(goog$userAgent$IE)styleSheet$$inline_2=0;else var head$$inline_3=0;var element$$inline_0=styleSheet$$inline_2;if(goog$userAgent$IE)element$$inline_0.cssText=a;else{var propToSet$$inline_2="innerText";element$$inline_0[propToSet$$inline_2]=a}styleSheet$$inline_2 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] BLOCK 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME styleSheet$$inline_2 1 [source_file: expected0] NULL 1 [source_file: expected0] IF 1 [source_file: expected0] NAME goog$userAgent$IE 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME styleSheet$$inline_2 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME head$$inline_3 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME element$$inline_0 1 [source_file: expected0] NAME styleSheet$$inline_2 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME stylesString$$inline_1 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] IF 1 [source_file: expected0] NAME goog$userAgent$IE 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME element$$inline_0 1 [source_file: expected0] STRING cssText 1 [source_file: expected0] NAME stylesString$$inline_1 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME propToSet$$inline_2 1 [source_file: expected0] STRING innerText 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETELEM 1 [source_file: expected0] NAME element$$inline_0 1 [source_file: expected0] NAME propToSet$$inline_2 1 [source_file: expected0] NAME stylesString$$inline_1 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NAME styleSheet$$inline_2 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] BLOCK 2 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME styleSheet$$inline_2 1 [source_file: testcode] NULL 1 [source_file: testcode] IF 1 [source_file: testcode] NAME goog$userAgent$IE 1 [is_constant_name: 1] [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME styleSheet$$inline_2 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] VAR 1 [source_file: testcode] NAME head$$inline_3 1 [source_file: testcode] [is_constant_var: 1] NUMBER 0.0 1 [source_file: testcode] BLOCK 2 [source_file: testcode] VAR 1 [source_file: testcode] NAME element$$inline_0 1 [source_file: testcode] NAME styleSheet$$inline_2 1 [source_file: testcode] IF 2 [source_file: testcode] NAME goog$userAgent$IE 2 [is_constant_name: 1] [source_file: testcode] BLOCK 2 [added_block: 1] [source_file: testcode] EXPR_RESULT 2 [source_file: testcode] ASSIGN 2 [source_file: testcode] GETPROP 2 [source_file: testcode] NAME element$$inline_0 2 [source_file: testcode] STRING cssText 2 [source_file: testcode] NAME a 2 [is_constant_name: 1] [source_file: testcode] BLOCK 2 [source_file: testcode] VAR 2 [source_file: testcode] NAME propToSet$$inline_2 2 [source_file: testcode] [is_constant_var: 1] STRING innerText 2 [source_file: testcode] EXPR_RESULT 2 [source_file: testcode] ASSIGN 2 [source_file: testcode] GETELEM 2 [source_file: testcode] NAME element$$inline_0 2 [source_file: testcode] NAME propToSet$$inline_2 2 [source_file: testcode] NAME a 2 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME styleSheet$$inline_2 1 [source_file: testcode]
Expected subtree: BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME element$$inline_0 1 [source_file: expected0] NAME styleSheet$$inline_2 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME stylesString$$inline_1 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] IF 1 [source_file: expected0] NAME goog$userAgent$IE 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME element$$inline_0 1 [source_file: expected0] STRING cssText 1 [source_file: expected0] NAME stylesString$$inline_1 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME propToSet$$inline_2 1 [source_file: expected0] STRING innerText 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETELEM 1 [source_file: expected0] NAME element$$inline_0 1 [source_file: expected0] NAME propToSet$$inline_2 1 [source_file: expected0] NAME stylesString$$inline_1 1 [source_file: expected0]
Actual subtree: BLOCK 2 [source_file: testcode] VAR 1 [source_file: testcode] NAME element$$inline_0 1 [source_file: testcode] NAME styleSheet$$inline_2 1 [source_file: testcode] IF 2 [source_file: testcode] NAME goog$userAgent$IE 2 [is_constant_name: 1] [source_file: testcode] BLOCK 2 [added_block: 1] [source_file: testcode] EXPR_RESULT 2 [source_file: testcode] ASSIGN 2 [source_file: testcode] GETPROP 2 [source_file: testcode] NAME element$$inline_0 2 [source_file: testcode] STRING cssText 2 [source_file: testcode] NAME a 2 [is_constant_name: 1] [source_file: testcode] BLOCK 2 [source_file: testcode] VAR 2 [source_file: testcode] NAME propToSet$$inline_2 2 [source_file: testcode] [is_constant_var: 1] STRING innerText 2 [source_file: testcode] EXPR_RESULT 2 [source_file: testcode] ASSIGN 2 [source_file: testcode] GETELEM 2 [source_file: testcode] NAME element$$inline_0 2 [source_file: testcode] NAME propToSet$$inline_2 2 [source_file: testcode] NAME a 2 [is_constant_name: 1] [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexSample(InlineFunctionsTest.java:1460)
| 0.009 |
| InlineFunctionsTest | testComplexSampleNoInline | Success | | 0.006 |
| InlineFunctionsTest | testComplexNoVarSub | Success | | 0.003 |
| InlineFunctionsTest | testComplexFunctionWithFunctionDefinition1 | Success | | 0.003 |
| InlineFunctionsTest | testComplexFunctionWithFunctionDefinition2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a$$inline_0 is not consistently annotated as constant.
Node(NAME a$$inline_0): testcode:1:55
(function(){var f = function(a){call(function(){return a})};f()})()
Parent(RETURN): testcode:1:48
(function(){var f = function(a){call(function(){return a})};f()})()
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a$$inline_0 is not consistently annotated as constant. Node(NAME a$$inline_0): testcode:1:55 (function(){var f = function(a){call(function(){return a})};f()})() Parent(RETURN): testcode:1:48 (function(){var f = function(a){call(function(){return a})};f()})()
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexFunctionWithFunctionDefinition2(InlineFunctionsTest.java:1531) Caused by: java.lang.IllegalStateException: The name a$$inline_0 is not consistently annotated as constant.
| 0.007 |
| InlineFunctionsTest | testComplexFunctionWithFunctionDefinition2a | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a$$inline_0 is not consistently annotated as constant.
Node(NAME a$$inline_0): testcode:1:55
(function(){var f = function(a){call(function(){return a})};f()})()
Parent(RETURN): testcode:1:48
(function(){var f = function(a){call(function(){return a})};f()})()
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a$$inline_0 is not consistently annotated as constant. Node(NAME a$$inline_0): testcode:1:55 (function(){var f = function(a){call(function(){return a})};f()})() Parent(RETURN): testcode:1:48 (function(){var f = function(a){call(function(){return a})};f()})()
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testComplexFunctionWithFunctionDefinition2a(InlineFunctionsTest.java:1545) Caused by: java.lang.IllegalStateException: The name a$$inline_0 is not consistently annotated as constant.
| 0.008 |
| InlineFunctionsTest | testComplexFunctionWithFunctionDefinition3 | Success | | 0.007 |
| InlineFunctionsTest | testDecomposePlusEquals | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testDecomposePlusEquals(InlineFunctionsTest.java:1564)
| 0.002 |
| InlineFunctionsTest | testDecomposeFunctionExpressionInCall | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testDecomposeFunctionExpressionInCall(InlineFunctionsTest.java:1574)
| 0.002 |
| InlineFunctionsTest | testInlineConstructor1 | Success | | 0.003 |
| InlineFunctionsTest | testInlineConstructor2 | Success | | 0.003 |
| InlineFunctionsTest | testInlineConstructor3 | Success | | 0.003 |
| InlineFunctionsTest | testInlineConstructor4 | Failure |
Expected: function f(){x.call(this)}f.prototype.a=0;function _g(){var t;x.call(this);t=void 0}
Result: function f(){x.call(this)}f.prototype.a=0;function _g(){var JSCompiler_inline_result$$0;x.call(this);JSCompiler_inline_result$$0=void 0;var t=JSCompiler_inline_result$$0}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FUNCTION f 1 [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
STRING call 1 [source_file: expected0]
THIS 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
STRING a 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
FUNCTION _g 1 [source_file: expected0]
NAME _g 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME t 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
STRING call 1 [source_file: expected0]
THIS 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME t 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION f 1 [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode]
STRING call 1 [source_file: testcode]
THIS 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
STRING prototype 1 [source_file: testcode]
STRING a 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
FUNCTION _g 1 [source_file: testcode]
NAME _g 1 [source_file: testcode] [is_constant_var: 1]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode]
STRING call 1 [source_file: testcode]
THIS 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME t 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME t 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
STRING call 1 [source_file: expected0]
THIS 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME t 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode]
STRING call 1 [source_file: testcode]
THIS 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME t 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: function f(){x.call(this)}f.prototype.a=0;function _g(){var t;x.call(this);t=void 0} Result: function f(){x.call(this)}f.prototype.a=0;function _g(){var JSCompiler_inline_result$$0;x.call(this);JSCompiler_inline_result$$0=void 0;var t=JSCompiler_inline_result$$0} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] FUNCTION f 1 [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] STRING call 1 [source_file: expected0] THIS 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] STRING a 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] FUNCTION _g 1 [source_file: expected0] NAME _g 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME t 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] STRING call 1 [source_file: expected0] THIS 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME t 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION f 1 [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] STRING call 1 [source_file: testcode] THIS 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] STRING prototype 1 [source_file: testcode] STRING a 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] FUNCTION _g 1 [source_file: testcode] NAME _g 1 [source_file: testcode] [is_constant_var: 1] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] STRING call 1 [source_file: testcode] THIS 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME t 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME t 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] STRING call 1 [source_file: expected0] THIS 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME t 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] STRING call 1 [source_file: testcode] THIS 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME t 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineConstructor4(InlineFunctionsTest.java:1614)
| 0.004 |
| InlineFunctionsTest | testFunctionExpressionInlining1 | Success | | 0.003 |
| InlineFunctionsTest | testFunctionExpressionInlining2 | Success | | 0.003 |
| InlineFunctionsTest | testFunctionExpressionInlining3 | Success | | 0.002 |
| InlineFunctionsTest | testFunctionExpressionInlining4 | Success | | 0.002 |
| InlineFunctionsTest | testFunctionExpressionCallInlining1 | Success | | 0.002 |
| InlineFunctionsTest | testFunctionExpressionCallInlining2 | Success | | 0.004 |
| InlineFunctionsTest | testFunctionExpressionCallInlining3 | Success | | 0.003 |
| InlineFunctionsTest | testFunctionExpressionCallInlining4 | Success | | 0.004 |
| InlineFunctionsTest | testFunctionExpressionCallInlining5 | Success | | 0.003 |
| InlineFunctionsTest | testFunctionExpressionCallInlining6 | Success | | 0.003 |
| InlineFunctionsTest | testFunctionExpressionCallInlining7 | Success | | 0.003 |
| InlineFunctionsTest | testFunctionExpressionCallInlining8 | Success | | 0.003 |
| InlineFunctionsTest | testFunctionExpressionCallInlining9 | Success | | 0.003 |
| InlineFunctionsTest | testFunctionExpressionCallInlining10 | Success | | 0.005 |
| InlineFunctionsTest | testFunctionExpressionCallInlining11a | Success | | 0.003 |
| InlineFunctionsTest | testFunctionExpressionCallInlining11b | Success | | 0.010 |
| InlineFunctionsTest | testFunctionExpressionCallInlining11c | Success | | 0.007 |
| InlineFunctionsTest | testFunctionExpressionCallInlining11d | Success | | 0.008 |
| InlineFunctionsTest | testFunctionExpressionCallInlining11e | Success | | 0.008 |
| InlineFunctionsTest | testFunctionExpressionCallInlining12 | Success | | 0.003 |
| InlineFunctionsTest | testFunctionExpressionOmega | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name f$$inline_0 is not consistently annotated as constant.
Node(NAME f$$inline_0): testcode:1:14
(function (f){f(f)})(function(f){f(f)})
Parent(CALL): testcode:1:14
(function (f){f(f)})(function(f){f(f)})
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name f$$inline_0 is not consistently annotated as constant. Node(NAME f$$inline_0): testcode:1:14 (function (f){f(f)})(function(f){f(f)}) Parent(CALL): testcode:1:14 (function (f){f(f)})(function(f){f(f)})
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testFunctionExpressionOmega(InlineFunctionsTest.java:1779) Caused by: java.lang.IllegalStateException: The name f$$inline_0 is not consistently annotated as constant.
| 0.003 |
| InlineFunctionsTest | testLocalFunctionInlining1 | Success | | 0.003 |
| InlineFunctionsTest | testLocalFunctionInlining2 | Success | | 0.003 |
| InlineFunctionsTest | testLocalFunctionInlining3 | Success | | 0.003 |
| InlineFunctionsTest | testLocalFunctionInlining4 | Success | | 0.003 |
| InlineFunctionsTest | testLocalFunctionInlining5 | Success | | 0.003 |
| InlineFunctionsTest | testLocalFunctionInlining6 | Success | | 0.002 |
| InlineFunctionsTest | testLocalFunctionInliningOnly1 | Success | | 0.005 |
| InlineFunctionsTest | testLocalFunctionInliningOnly2 | Success | | 0.005 |
| InlineFunctionsTest | testLocalFunctionInliningOnly3 | Success | | 0.006 |
| InlineFunctionsTest | testLocalFunctionInliningOnly4 | Success | | 0.004 |
| InlineFunctionsTest | testInlineWithThis1 | Success | | 0.010 |
| InlineFunctionsTest | testInlineWithThis2 | Success | | 0.005 |
| InlineFunctionsTest | testInlineWithThis3 | Success | | 0.005 |
| InlineFunctionsTest | testInlineWithThis4 | Success | | 0.006 |
| InlineFunctionsTest | testInlineWithThis5 | Success | | 0.006 |
| InlineFunctionsTest | testInlineWithThis6 | Success | | 0.004 |
| InlineFunctionsTest | testInlineWithThis7 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a$$inline_0 is not consistently annotated as constant.
Node(NAME a$$inline_0): testcode:1:14
function f(a){a=1;this} f.call();
Parent(ASSIGN): testcode:1:14
function f(a){a=1;this} f.call();
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a$$inline_0 is not consistently annotated as constant. Node(NAME a$$inline_0): testcode:1:14 function f(a){a=1;this} f.call(); Parent(ASSIGN): testcode:1:14 function f(a){a=1;this} f.call();
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testInlineWithThis7(InlineFunctionsTest.java:1916) Caused by: java.lang.IllegalStateException: The name a$$inline_0 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testFunctionExpressionYCombinator | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name M$$inline_4 is not consistently annotated as constant.
Node(NAME M$$inline_4): testcode:3:24
return M(function(arg) {
Parent(CALL): testcode:3:24
return M(function(arg) {
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name M$$inline_4 is not consistently annotated as constant. Node(NAME M$$inline_4): testcode:3:24 return M(function(arg) { Parent(CALL): testcode:3:24 return M(function(arg) {
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testFunctionExpressionYCombinator(InlineFunctionsTest.java:1950) Caused by: java.lang.IllegalStateException: The name M$$inline_4 is not consistently annotated as constant.
| 0.012 |
| InlineFunctionsTest | testRenamePropertyFunction | Success | | 0.003 |
| InlineFunctionsTest | testReplacePropertyFunction | Success | | 0.006 |
| InlineFunctionsTest | testInlineWithClosureContainingThis | Success | | 0.004 |
| InlineFunctionsTest | testIssue5159924a | Success | | 0.003 |
| InlineFunctionsTest | testIssue5159924b | Failure |
Expected: for(;1;){var m;JSCompiler_inline_label_f_0:{if(x()){m=y();break JSCompiler_inline_label_f_0}m=void 0}}
Result: for(;1;){var JSCompiler_inline_result$$0;JSCompiler_inline_label_f_1:{if(x()){JSCompiler_inline_result$$0=y();break JSCompiler_inline_label_f_1}JSCompiler_inline_result$$0=void 0}var m=JSCompiler_inline_result$$0}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FOR 1 [source_file: expected0]
EMPTY 1 [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EMPTY 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME m 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME m 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME m 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FOR 2 [source_file: testcode]
EMPTY 2 [source_file: testcode]
NUMBER 1.0 2 [source_file: testcode]
EMPTY 2 [source_file: testcode]
BLOCK 2 [source_file: testcode]
VAR 2 [source_file: testcode]
NAME JSCompiler_inline_result$$0 2 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 2 [source_file: testcode]
NAME m 2 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 2 [source_file: testcode]
Expected subtree: BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME m 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
LABEL 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME m 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
BREAK 1 [source_file: expected0]
LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME m 1 [is_constant_name: 1] [source_file: expected0]
VOID 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Actual subtree: BLOCK 2 [source_file: testcode]
VAR 2 [source_file: testcode]
NAME JSCompiler_inline_result$$0 2 [source_file: testcode]
BLOCK 1 [source_file: testcode]
LABEL 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
VOID 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
VAR 2 [source_file: testcode]
NAME m 2 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 2 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: for(;1;){var m;JSCompiler_inline_label_f_0:{if(x()){m=y();break JSCompiler_inline_label_f_0}m=void 0}} Result: for(;1;){var JSCompiler_inline_result$$0;JSCompiler_inline_label_f_1:{if(x()){JSCompiler_inline_result$$0=y();break JSCompiler_inline_label_f_1}JSCompiler_inline_result$$0=void 0}var m=JSCompiler_inline_result$$0} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] FOR 1 [source_file: expected0] EMPTY 1 [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EMPTY 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME m 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME m 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME m 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FOR 2 [source_file: testcode] EMPTY 2 [source_file: testcode] NUMBER 1.0 2 [source_file: testcode] EMPTY 2 [source_file: testcode] BLOCK 2 [source_file: testcode] VAR 2 [source_file: testcode] NAME JSCompiler_inline_result$$0 2 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 2 [source_file: testcode] NAME m 2 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 2 [source_file: testcode]
Expected subtree: BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME m 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] LABEL 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME m 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] BREAK 1 [source_file: expected0] LABEL_NAME JSCompiler_inline_label_f_0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME m 1 [is_constant_name: 1] [source_file: expected0] VOID 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0]
Actual subtree: BLOCK 2 [source_file: testcode] VAR 2 [source_file: testcode] NAME JSCompiler_inline_result$$0 2 [source_file: testcode] BLOCK 1 [source_file: testcode] LABEL 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME JSCompiler_inline_label_f_1 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] VOID 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] VAR 2 [source_file: testcode] NAME m 2 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 2 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testIssue5159924b(InlineFunctionsTest.java:2036)
| 0.003 |
| InlineFunctionsTest | testInlineObject | Success | | 0.004 |
| InlineFunctionsTest | testBug4944818 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testBug4944818(InlineFunctionsTest.java:2099)
| 0.003 |
| InlineFunctionsTest | testIssue423 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name $$$inline_0 is not consistently annotated as constant.
Node(NAME $$$inline_0): testcode:7:25
options.checkboxes = $(this).siblings(':checkbox');
Parent(CALL): testcode:7:25
options.checkboxes = $(this).siblings(':checkbox');
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name $$$inline_0 is not consistently annotated as constant. Node(NAME $$$inline_0): testcode:7:25 options.checkboxes = $(this).siblings(':checkbox'); Parent(CALL): testcode:7:25 options.checkboxes = $(this).siblings(':checkbox');
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testIssue423(InlineFunctionsTest.java:2164) Caused by: java.lang.IllegalStateException: The name $$$inline_0 is not consistently annotated as constant.
| 0.008 |
| InlineFunctionsTest | testIssue728 | Success | | 0.018 |
| InlineFunctionsTest | testAnonymous1 | Success | | 0.008 |
| InlineFunctionsTest | testAnonymous2 | Success | | 0.003 |
| InlineFunctionsTest | testAnonymous3 | Success | | 0.008 |
| InlineFunctionsTest | testLoopWithFunctionWithFunction | Success | | 0.008 |
| InlineFunctionsTest | testMethodWithFunctionWithFunction | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name j$$inline_0 is not consistently annotated as constant.
Node(NAME j$$inline_0): testcode:6:42
setTimeout(function() { result += j; }, 5 * i);
Parent(ASSIGN_ADD): testcode:6:32
setTimeout(function() { result += j; }, 5 * i);
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name j$$inline_0 is not consistently annotated as constant. Node(NAME j$$inline_0): testcode:6:42 setTimeout(function() { result += j; }, 5 * i); Parent(ASSIGN_ADD): testcode:6:32 setTimeout(function() { result += j; }, 5 * i);
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testMethodWithFunctionWithFunction(InlineFunctionsTest.java:2270) Caused by: java.lang.IllegalStateException: The name j$$inline_0 is not consistently annotated as constant.
| 0.004 |
| InlineFunctionsTest | testCrossModuleInlining1 | Success | | 0.003 |
| InlineFunctionsTest | testCrossModuleInlining2 | Success | | 0.007 |
| InlineFunctionsTest | testCrossModuleInlining3 | Success | | 0.007 |
| InlineFunctionsTest | test6671158 | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.test6671158(InlineFunctionsTest.java:2371)
| 0.003 |
| InlineFunctionsTest | test6671158b | Error | Unexpected.
java.lang.IllegalStateException: Unexpected. at com.google.javascript.jscomp.ExpressionDecomposer.extractConditional(ExpressionDecomposer.java:379) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:236) at com.google.javascript.jscomp.ExpressionDecomposer.exposeExpression(ExpressionDecomposer.java:103) at com.google.javascript.jscomp.ExpressionDecomposer.maybeExposeExpression(ExpressionDecomposer.java:85) at com.google.javascript.jscomp.FunctionInjector$CallSiteType$6.prepare(FunctionInjector.java:389) at com.google.javascript.jscomp.FunctionInjector.maybePrepareCall(FunctionInjector.java:467) at com.google.javascript.jscomp.InlineFunctions.decomposeExpressions(InlineFunctions.java:825) at com.google.javascript.jscomp.InlineFunctions.process(InlineFunctions.java:142) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1044) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.test6671158b(InlineFunctionsTest.java:2395)
| 0.002 |
| InlineFunctionsTest | test8609285a | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:19
function f(x){ for(x in y){} } f()
Parent(FOR): testcode:1:15
function f(x){ for(x in y){} } f()
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:19 function f(x){ for(x in y){} } f() Parent(FOR): testcode:1:15 function f(x){ for(x in y){} } f()
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.test8609285a(InlineFunctionsTest.java:2418) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | test8609285b | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name x$$inline_0 is not consistently annotated as constant.
Node(NAME x$$inline_0): testcode:1:23
function f(x){ for(var x in y){} } f()
Parent(FOR): testcode:1:15
function f(x){ for(var x in y){} } f()
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name x$$inline_0 is not consistently annotated as constant. Node(NAME x$$inline_0): testcode:1:23 function f(x){ for(var x in y){} } f() Parent(FOR): testcode:1:15 function f(x){ for(var x in y){} } f()
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:333) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.test8609285b(InlineFunctionsTest.java:2424) Caused by: java.lang.IllegalStateException: The name x$$inline_0 is not consistently annotated as constant.
| 0.002 |
| InlineFunctionsTest | testIssue1101 | Failure |
Expected: var x;var saved$$inline_0=obj["prop"];x=modifyObjProp(obj)+saved$$inline_0
Result: var JSCompiler_inline_result$$0;var saved$$inline_1=obj["prop"];JSCompiler_inline_result$$0=modifyObjProp(obj)+saved$$inline_1;var x=JSCompiler_inline_result$$0
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME saved$$inline_0 1 [source_file: expected0]
GETELEM 1 [source_file: expected0]
NAME obj 1 [source_file: expected0]
STRING prop 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
ADD 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME modifyObjProp 1 [source_file: expected0]
NAME obj 1 [source_file: expected0]
NAME saved$$inline_0 2 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME saved$$inline_1 1 [source_file: testcode]
GETELEM 1 [source_file: testcode]
NAME obj 1 [source_file: testcode]
STRING prop 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
ADD 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME modifyObjProp 1 [source_file: testcode]
NAME obj 1 [source_file: testcode]
NAME saved$$inline_1 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME saved$$inline_0 1 [source_file: expected0]
GETELEM 1 [source_file: expected0]
NAME obj 1 [source_file: expected0]
STRING prop 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
ADD 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME modifyObjProp 1 [source_file: expected0]
NAME obj 1 [source_file: expected0]
NAME saved$$inline_0 2 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME saved$$inline_1 1 [source_file: testcode]
GETELEM 1 [source_file: testcode]
NAME obj 1 [source_file: testcode]
STRING prop 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
ADD 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME modifyObjProp 1 [source_file: testcode]
NAME obj 1 [source_file: testcode]
NAME saved$$inline_1 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var x;var saved$$inline_0=obj["prop"];x=modifyObjProp(obj)+saved$$inline_0 Result: var JSCompiler_inline_result$$0;var saved$$inline_1=obj["prop"];JSCompiler_inline_result$$0=modifyObjProp(obj)+saved$$inline_1;var x=JSCompiler_inline_result$$0 Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME saved$$inline_0 1 [source_file: expected0] GETELEM 1 [source_file: expected0] NAME obj 1 [source_file: expected0] STRING prop 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] ADD 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME modifyObjProp 1 [source_file: expected0] NAME obj 1 [source_file: expected0] NAME saved$$inline_0 2 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME saved$$inline_1 1 [source_file: testcode] GETELEM 1 [source_file: testcode] NAME obj 1 [source_file: testcode] STRING prop 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] ADD 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME modifyObjProp 1 [source_file: testcode] NAME obj 1 [source_file: testcode] NAME saved$$inline_1 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME saved$$inline_0 1 [source_file: expected0] GETELEM 1 [source_file: expected0] NAME obj 1 [source_file: expected0] STRING prop 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] ADD 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME modifyObjProp 1 [source_file: expected0] NAME obj 1 [source_file: expected0] NAME saved$$inline_0 2 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME saved$$inline_1 1 [source_file: testcode] GETELEM 1 [source_file: testcode] NAME obj 1 [source_file: testcode] STRING prop 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME JSCompiler_inline_result$$0 1 [source_file: testcode] ADD 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME modifyObjProp 1 [source_file: testcode] NAME obj 1 [source_file: testcode] NAME saved$$inline_1 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] NAME JSCompiler_inline_result$$0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testIssue1101(InlineFunctionsTest.java:2430)
| 0.004 |
| InlineFunctionsTest | testMaxFunSizeAfterInlining | Failure |
Expected: function f(){123}
Result: function g(){return 123}function f(){g()}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FUNCTION f 1 [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NUMBER 123.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION g 1 [source_file: testcode]
NAME g 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
NUMBER 123.0 1 [source_file: testcode]
FUNCTION f 2 [source_file: testcode]
NAME f 2 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
PARAM_LIST 2 [source_file: testcode]
BLOCK 2 [source_file: testcode]
EXPR_RESULT 2 [source_file: testcode]
CALL 2 [side_effect_flags: 31] [free_call: 1] [source_file: testcode]
NAME g 2 [is_constant_name: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FUNCTION f 1 [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NUMBER 123.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION g 1 [source_file: testcode]
NAME g 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
NUMBER 123.0 1 [source_file: testcode]
FUNCTION f 2 [source_file: testcode]
NAME f 2 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1]
PARAM_LIST 2 [source_file: testcode]
BLOCK 2 [source_file: testcode]
EXPR_RESULT 2 [source_file: testcode]
CALL 2 [side_effect_flags: 31] [free_call: 1] [source_file: testcode]
NAME g 2 [is_constant_name: 1] [source_file: testcode]
junit.framework.AssertionFailedError: Expected: function f(){123} Result: function g(){return 123}function f(){g()} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] FUNCTION f 1 [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NUMBER 123.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION g 1 [source_file: testcode] NAME g 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode] NUMBER 123.0 1 [source_file: testcode] FUNCTION f 2 [source_file: testcode] NAME f 2 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] PARAM_LIST 2 [source_file: testcode] BLOCK 2 [source_file: testcode] EXPR_RESULT 2 [source_file: testcode] CALL 2 [side_effect_flags: 31] [free_call: 1] [source_file: testcode] NAME g 2 [is_constant_name: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] FUNCTION f 1 [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NUMBER 123.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION g 1 [source_file: testcode] NAME g 1 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode] NUMBER 123.0 1 [source_file: testcode] FUNCTION f 2 [source_file: testcode] NAME f 2 [is_constant_name: 1] [source_file: testcode] [is_constant_var: 1] PARAM_LIST 2 [source_file: testcode] BLOCK 2 [source_file: testcode] EXPR_RESULT 2 [source_file: testcode] CALL 2 [side_effect_flags: 31] [free_call: 1] [source_file: testcode] NAME g 2 [is_constant_name: 1] [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineFunctionsTest.testMaxFunSizeAfterInlining(InlineFunctionsTest.java:2443)
| 0.004 |
| InlineObjectLiteralsTest | testObject24 | Success | | 0.004 |
| InlineObjectLiteralsTest | testObject25 | Success | | 0.003 |
| InlineObjectLiteralsTest | testObject26 | Success | | 0.002 |
| InlineObjectLiteralsTest | testBug545 | Success | | 0.003 |
| InlineObjectLiteralsTest | testIssue724 | Success | | 0.003 |
| InlineObjectLiteralsTest | testNoInlineDeletedProperties | Success | | 0.004 |
| InlineObjectLiteralsTest | testObject0 | Success | | 0.002 |
| InlineObjectLiteralsTest | testObject1 | Success | | 0.003 |
| InlineObjectLiteralsTest | testObject1a | Success | | 0.003 |
| InlineObjectLiteralsTest | testObject2 | Success | | 0.003 |
| InlineObjectLiteralsTest | testObject3 | Success | | 0.005 |
| InlineObjectLiteralsTest | testObject4 | Success | | 0.006 |
| InlineObjectLiteralsTest | testObject5 | Success | | 0.003 |
| InlineObjectLiteralsTest | testObject6 | Success | | 0.006 |
| InlineObjectLiteralsTest | testObject7 | Success | | 0.003 |
| InlineObjectLiteralsTest | testObject8 | Success | | 0.010 |
| InlineObjectLiteralsTest | testObject9 | Success | | 0.010 |
| InlineObjectLiteralsTest | testObject10 | Success | | 0.020 |
| InlineObjectLiteralsTest | testObject11 | Success | | 0.005 |
| InlineObjectLiteralsTest | testObject12 | Success | | 0.003 |
| InlineObjectLiteralsTest | testObject13 | Success | | 0.004 |
| InlineObjectLiteralsTest | testObject14 | Success | | 0.004 |
| InlineObjectLiteralsTest | testObject15 | Success | | 0.001 |
| InlineObjectLiteralsTest | testObject16 | Success | | 0.002 |
| InlineObjectLiteralsTest | testObject17 | Success | | 0.002 |
| InlineObjectLiteralsTest | testObject18 | Success | | 0.003 |
| InlineObjectLiteralsTest | testObject19 | Success | | 0.004 |
| InlineObjectLiteralsTest | testObject20 | Success | | 0.004 |
| InlineObjectLiteralsTest | testObject21 | Success | | 0.028 |
| InlineObjectLiteralsTest | testObject22 | Success | | 0.005 |
| InlineObjectLiteralsTest | testObject23 | Success | | 0.002 |
| InlinePropertiesTest | testConstClassProps1 | Success | | 0.007 |
| InlinePropertiesTest | testConstInstanceProp2 | Success | | 0.003 |
| InlinePropertiesTest | testConstInstanceProp3 | Success | | 0.004 |
| InlinePropertiesTest | testConstInstanceProp4 | Success | | 0.004 |
| InlinePropertiesTest | testConstInstanceProp1 | Success | | 0.004 |
| InlinePropertiesTest | testConstClassProps2 | Success | | 0.003 |
| InlinePropertiesTest | testConstClassProps3 | Success | | 0.005 |
| InlinePropertiesTest | testNonConstClassProp1 | Success | | 0.004 |
| InlinePropertiesTest | testNonConstClassProp2 | Success | | 0.004 |
| InlinePropertiesTest | testNonConstructorClassProp1 | Success | | 0.004 |
| InlinePropertiesTest | testConditionalClassProp1 | Success | | 0.004 |
| InlinePropertiesTest | testConstPrototypeProp1 | Success | | 0.004 |
| InlinePropertiesTest | testConstPrototypeProp2 | Success | | 0.004 |
| InlineSimpleMethodsTest | testObjectLit | Success | | 0.002 |
| InlineSimpleMethodsTest | testObjectLit2 | Success | | 0.001 |
| InlineSimpleMethodsTest | testSimpleInline1 | Success | | 0.002 |
| InlineSimpleMethodsTest | testSimpleInline2 | Success | | 0.011 |
| InlineSimpleMethodsTest | testSimpleGetterInline1 | Success | | 0.006 |
| InlineSimpleMethodsTest | testSimpleSetterInline1 | Success | | 0.006 |
| InlineSimpleMethodsTest | testSelfInline | Success | | 0.002 |
| InlineSimpleMethodsTest | testCallWithArgs | Success | | 0.002 |
| InlineSimpleMethodsTest | testCallWithConstArgs | Success | | 0.002 |
| InlineSimpleMethodsTest | testNestedProperties | Success | | 0.002 |
| InlineSimpleMethodsTest | testSkipComplexMethods | Success | | 0.003 |
| InlineSimpleMethodsTest | testSkipConflictingMethods | Success | | 0.002 |
| InlineSimpleMethodsTest | testSameNamesDifferentDefinitions | Success | | 0.003 |
| InlineSimpleMethodsTest | testSameNamesSameDefinitions | Success | | 0.002 |
| InlineSimpleMethodsTest | testConfusingNames | Success | | 0.002 |
| InlineSimpleMethodsTest | testConstantInline | Success | | 0.002 |
| InlineSimpleMethodsTest | testConstantArrayInline | Success | | 0.002 |
| InlineSimpleMethodsTest | testConstantInlineWithSideEffects | Success | | 0.001 |
| InlineSimpleMethodsTest | testEmptyMethodInline | Success | | 0.002 |
| InlineSimpleMethodsTest | testEmptyMethodInlineWithSideEffects | Success | | 0.001 |
| InlineSimpleMethodsTest | testEmptyMethodInlineInAssign1 | Success | | 0.001 |
| InlineSimpleMethodsTest | testEmptyMethodInlineInAssign2 | Success | | 0.001 |
| InlineSimpleMethodsTest | testNormalMethod | Success | | 0.001 |
| InlineSimpleMethodsTest | testNoInlineOfExternMethods1 | Success | | 0.001 |
| InlineSimpleMethodsTest | testNoInlineOfExternMethods2 | Success | | 0.001 |
| InlineSimpleMethodsTest | testNoInlineOfExternMethods3 | Success | | 0.002 |
| InlineSimpleMethodsTest | testNoInlineOfDangerousProperty | Success | | 0.001 |
| InlineSimpleMethodsTest | testNoWarn | Success | | 0.003 |
| InlineSimpleMethodsTest | testObjectLitExtern | Success | | 0.001 |
| InlineSimpleMethodsTest | testExternFunction | Success | | 0.002 |
| InlineSimpleMethodsTest | testIssue2508576_1 | Success | | 0.001 |
| InlineSimpleMethodsTest | testIssue2508576_2 | Success | | 0.002 |
| InlineSimpleMethodsTest | testIssue2508576_3 | Success | | 0.001 |
| InlineSimpleMethodsTest | testAnonymousGet | Success | | 0.004 |
| InlineSimpleMethodsTest | testAnonymousSet | Success | | 0.004 |
| InlineVariablesConstantsTest | testInlineVariablesConstants | Failure |
Expected: var x=2
Result:
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
junit.framework.AssertionFailedError: Expected: var x=2 Result: Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 2.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 2.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesConstantsTest.testInlineVariablesConstants(InlineVariablesConstantsTest.java:44)
| 0.001 |
| InlineVariablesConstantsTest | testNoInlineArraysOrRegexps | Success | | 0.005 |
| InlineVariablesConstantsTest | testInlineVariablesConstantsJsDocStyle | Failure |
Expected: var x=2
Result:
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
junit.framework.AssertionFailedError: Expected: var x=2 Result: Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 2.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 2.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesConstantsTest.testInlineVariablesConstantsJsDocStyle(InlineVariablesConstantsTest.java:70)
| 0.001 |
| InlineVariablesConstantsTest | testInlineConditionallyDefinedConstant1 | Success | | 0.002 |
| InlineVariablesConstantsTest | testInlineConditionallyDefinedConstant2 | Success | | 0.001 |
| InlineVariablesConstantsTest | testInlineConditionallyDefinedConstant3 | Success | | 0.002 |
| InlineVariablesConstantsTest | testInlineDefinedConstant | Success | | 0.003 |
| InlineVariablesConstantsTest | testInlineVariablesConstantsWithInlineAllStringsOn | Success | | 0.001 |
| InlineVariablesConstantsTest | testNoInlineWithoutConstDeclaration | Success | | 0.001 |
| InlineVariablesConstantsTest | testNoInlineAliases | Success | | 0.003 |
| InlineVariablesTest | testNoInlineGetpropIntoCall | Success | | 0.005 |
| InlineVariablesTest | testDoNotInlineIncrement | Success | | 0.002 |
| InlineVariablesTest | testDoNotInlineIntoLhsOfAssign | Success | | 0.001 |
| InlineVariablesTest | testDoNotExitLoop | Success | | 0.002 |
| InlineVariablesTest | testForIn | Success | | 0.009 |
| InlineVariablesTest | testHoistedFunction1 | Success | | 0.001 |
| InlineVariablesTest | testHoistedFunction2 | Success | | 0.001 |
| InlineVariablesTest | testRenamePropertyFunction | Success | | 0.001 |
| InlineVariablesTest | testInlineGlobal | Failure |
Expected: var z=1
Result:
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
junit.framework.AssertionFailedError: Expected: var z=1 Result: Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesTest.testInlineGlobal(InlineVariablesTest.java:61)
| 0.001 |
| InlineVariablesTest | testNoInlineExportedName | Success | | 0.001 |
| InlineVariablesTest | testNoInlineExportedName2 | Success | | 0.002 |
| InlineVariablesTest | testDoNotInlineDecrement | Success | | 0.001 |
| InlineVariablesTest | testInlineIntoRhsOfAssign | Failure |
Expected: var y=1
Result:
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
junit.framework.AssertionFailedError: Expected: var y=1 Result: Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesTest.testInlineIntoRhsOfAssign(InlineVariablesTest.java:86)
| 0.001 |
| InlineVariablesTest | testInlineInFunction | Failure |
Expected: function baz(){var z=1}
Result: function baz(){}
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FUNCTION baz 1 [source_file: expected0]
NAME baz 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION baz 1 [source_file: testcode]
NAME baz 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
Subtree1: BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
Subtree2: BLOCK 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: function baz(){var z=1} Result: function baz(){} Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] FUNCTION baz 1 [source_file: expected0] NAME baz 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION baz 1 [source_file: testcode] NAME baz 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
Subtree1: BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0]
Subtree2: BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesTest.testInlineInFunction(InlineVariablesTest.java:90)
| 0.002 |
| InlineVariablesTest | testInlineInFunction2 | Success | | 0.002 |
| InlineVariablesTest | testInlineInFunction3 | Success | | 0.003 |
| InlineVariablesTest | testInlineInFunction4 | Success | | 0.002 |
| InlineVariablesTest | testInlineInFunction5 | Success | | 0.002 |
| InlineVariablesTest | testInlineAcrossModules | Failure |
Expected: var b=2
Result:
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
SCRIPT 1 [synthetic: 1] [source_file: expected1] [input_id: InputId: expected1]
VAR 1 [source_file: expected1]
NAME b 1 [is_constant_name: 1] [source_file: expected1]
NUMBER 2.0 1 [source_file: expected1]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: i0] [input_id: InputId: i0]
SCRIPT 1 [synthetic: 1] [source_file: i1] [input_id: InputId: i1]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected1] [input_id: InputId: expected1]
VAR 1 [source_file: expected1]
NAME b 1 [is_constant_name: 1] [source_file: expected1]
NUMBER 2.0 1 [source_file: expected1]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: i1] [input_id: InputId: i1]
junit.framework.AssertionFailedError: Expected: var b=2 Result: Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] SCRIPT 1 [synthetic: 1] [source_file: expected1] [input_id: InputId: expected1] VAR 1 [source_file: expected1] NAME b 1 [is_constant_name: 1] [source_file: expected1] NUMBER 2.0 1 [source_file: expected1]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: i0] [input_id: InputId: i0] SCRIPT 1 [synthetic: 1] [source_file: i1] [input_id: InputId: i1]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected1] [input_id: InputId: expected1] VAR 1 [source_file: expected1] NAME b 1 [is_constant_name: 1] [source_file: expected1] NUMBER 2.0 1 [source_file: expected1]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: i1] [input_id: InputId: i1]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:911) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:732) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:712) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:699) at com.google.javascript.jscomp.InlineVariablesTest.testInlineAcrossModules(InlineVariablesTest.java:132)
| 0.001 |
| InlineVariablesTest | testDoNotExitConditional1 | Failure |
Expected: if(true)var x=1;var z=x
Result: if(true);
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: if(true)var x=1;var z=x Result: if(true); Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testDoNotExitConditional1(InlineVariablesTest.java:137)
| 0.002 |
| InlineVariablesTest | testDoNotExitConditional2 | Failure |
Expected: if(true)var x=1;var z=x
Result: if(true);
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
junit.framework.AssertionFailedError: Expected: if(true)var x=1;var z=x Result: if(true); Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testDoNotExitConditional2(InlineVariablesTest.java:141)
| 0.002 |
| InlineVariablesTest | testDoNotExitConditional3 | Failure |
Expected: var x;if(true)x=1;var z=x
Result: if(true)1
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var x;if(true)x=1;var z=x Result: if(true)1 Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testDoNotExitConditional3(InlineVariablesTest.java:146)
| 0.001 |
| InlineVariablesTest | testDoNotExitForLoop | Success | | 0.003 |
| InlineVariablesTest | testDoNotEnterSubscope | Success | | 0.006 |
| InlineVariablesTest | testDoNotExitTry | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode] NAME y 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testDoNotExitTry(InlineVariablesTest.java:174)
| 0.001 |
| InlineVariablesTest | testDoNotEnterCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [source_file: testcode] NAME e 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testDoNotEnterCatch(InlineVariablesTest.java:179)
| 0.001 |
| InlineVariablesTest | testDoNotEnterFinally | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NAME e 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [source_file: testcode] NAME x 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testDoNotEnterFinally(InlineVariablesTest.java:183)
| 0.001 |
| InlineVariablesTest | testInsideIfConditional | Success | | 0.004 |
| InlineVariablesTest | testOnlyReadAtInitialization | Success | | 0.011 |
| InlineVariablesTest | testImmutableWithSingleReferenceAfterInitialzation | Success | | 0.013 |
| InlineVariablesTest | testSingleReferenceAfterInitialzation | Success | | 0.018 |
| InlineVariablesTest | testInsideIfBranch | Success | | 0.001 |
| InlineVariablesTest | testInsideAndConditional | Success | | 0.001 |
| InlineVariablesTest | testInsideAndBranch | Success | | 0.001 |
| InlineVariablesTest | testInsideOrBranch | Success | | 0.001 |
| InlineVariablesTest | testInsideHookBranch | Success | | 0.002 |
| InlineVariablesTest | testInsideHookConditional | Success | | 0.001 |
| InlineVariablesTest | testInsideOrBranchInsideIfConditional | Success | | 0.002 |
| InlineVariablesTest | testInsideOrBranchInsideIfConditionalWithConstant | Success | | 0.002 |
| InlineVariablesTest | testCrossFunctionsAsLeftLeaves | Success | | 0.006 |
| InlineVariablesTest | testDoCrossFunction | Failure |
Expected: foo();var z=1
Result: foo()
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME foo 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME foo 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: foo();var z=1 Result: foo() Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME foo 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME foo 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesTest.testDoCrossFunction(InlineVariablesTest.java:306)
| 0.002 |
| InlineVariablesTest | testDoNotCrossReferencingFunction | Failure |
Expected: var f=function(){var z$$1=x};var x=1;f();var z=x;f()
Result: var f=function(){};f();f()
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z$$1 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [is_constant_name: 1] [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z$$1 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 1.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [is_constant_name: 1] [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var f=function(){var z$$1=x};var x=1;f();var z=x;f() Result: var f=function(){};f();f() Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z$$1 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [is_constant_name: 1] [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z$$1 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 1.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [is_constant_name: 1] [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testDoNotCrossReferencingFunction(InlineVariablesTest.java:310)
| 0.002 |
| InlineVariablesTest | testChainedAssignment | Failure |
Expected: var a=2;var c=2
Result:
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME c 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME c 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
junit.framework.AssertionFailedError: Expected: var a=2;var c=2 Result: Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 2.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME c 1 [is_constant_name: 1] [source_file: expected0] NUMBER 2.0 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] NUMBER 2.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME c 1 [is_constant_name: 1] [source_file: expected0] NUMBER 2.0 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesTest.testChainedAssignment(InlineVariablesTest.java:322)
| 0.001 |
| InlineVariablesTest | testDoCrossNewVariables | Success | | 0.002 |
| InlineVariablesTest | testDoNotCrossFunctionCalls | Success | | 0.002 |
| InlineVariablesTest | testDoNotCrossAssignment | Success | | 0.005 |
| InlineVariablesTest | testDoNotCrossDelete | Success | | 0.002 |
| InlineVariablesTest | testDoNotCrossAssignmentPlus | Success | | 0.002 |
| InlineVariablesTest | testDoNotCrossIncrement | Success | | 0.002 |
| InlineVariablesTest | testDoNotCrossConstructor | Success | | 0.002 |
| InlineVariablesTest | testDoCrossVar | Success | | 0.001 |
| InlineVariablesTest | testOverlappingInlines | Success | | 0.003 |
| InlineVariablesTest | testOverlappingInlineFunctions | Success | | 0.002 |
| InlineVariablesTest | testInlineIntoLoops | Success | | 0.005 |
| InlineVariablesTest | testInlineIntoFunction | Success | | 0.003 |
| InlineVariablesTest | testNoInlineIntoNamedFunction | Failure |
Expected: f();var x=false;function f(){alert(x)}
Result: f();function f(){alert(false)}
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
FALSE 1 [source_file: expected0]
FUNCTION f 1 [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME alert 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
EMPTY 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
FUNCTION f 1 [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME alert 1 [source_file: testcode]
FALSE 1 [source_file: testcode]
EMPTY 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
FALSE 1 [source_file: expected0]
FUNCTION f 1 [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME alert 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
EMPTY 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
FUNCTION f 1 [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME alert 1 [source_file: testcode]
FALSE 1 [source_file: testcode]
EMPTY 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: f();var x=false;function f(){alert(x)} Result: f();function f(){alert(false)} Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] FALSE 1 [source_file: expected0] FUNCTION f 1 [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME alert 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] EMPTY 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] FUNCTION f 1 [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME alert 1 [source_file: testcode] FALSE 1 [source_file: testcode] EMPTY 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] FALSE 1 [source_file: expected0] FUNCTION f 1 [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME alert 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] EMPTY 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] FUNCTION f 1 [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME alert 1 [source_file: testcode] FALSE 1 [source_file: testcode] EMPTY 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testNoInlineIntoNamedFunction(InlineVariablesTest.java:427)
| 0.002 |
| InlineVariablesTest | testInlineIntoNestedNonHoistedNamedFunctions | Success | | 0.001 |
| InlineVariablesTest | testNoInlineIntoNestedNamedFunctions | Failure |
Expected: f();var x=false;function f(){if(false)alert(x)}
Result: f();function f(){if(false)alert(false)}
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
FALSE 1 [source_file: expected0]
FUNCTION f 1 [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
FALSE 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME alert 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
EMPTY 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
FUNCTION f 1 [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
FALSE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME alert 1 [source_file: testcode]
FALSE 1 [source_file: testcode]
EMPTY 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
FALSE 1 [source_file: expected0]
FUNCTION f 1 [source_file: expected0]
NAME f 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
IF 1 [source_file: expected0]
FALSE 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME alert 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
EMPTY 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
FUNCTION f 1 [source_file: testcode]
NAME f 1 [is_constant_name: 1] [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
FALSE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME alert 1 [source_file: testcode]
FALSE 1 [source_file: testcode]
EMPTY 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: f();var x=false;function f(){if(false)alert(x)} Result: f();function f(){if(false)alert(false)} Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] FALSE 1 [source_file: expected0] FUNCTION f 1 [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] FALSE 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME alert 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] EMPTY 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] FUNCTION f 1 [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] FALSE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME alert 1 [source_file: testcode] FALSE 1 [source_file: testcode] EMPTY 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] FALSE 1 [source_file: expected0] FUNCTION f 1 [source_file: expected0] NAME f 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] IF 1 [source_file: expected0] FALSE 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME alert 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] EMPTY 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] FUNCTION f 1 [source_file: testcode] NAME f 1 [is_constant_name: 1] [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] FALSE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME alert 1 [source_file: testcode] FALSE 1 [source_file: testcode] EMPTY 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testNoInlineIntoNestedNamedFunctions(InlineVariablesTest.java:436)
| 0.002 |
| InlineVariablesTest | testNoInlineMutatedVariable | Success | | 0.001 |
| InlineVariablesTest | testInlineImmutableMultipleTimes | Failure |
Expected: var y=null;var z=null
Result:
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
NULL 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NULL 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
NULL 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NULL 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
junit.framework.AssertionFailedError: Expected: var y=null;var z=null Result: Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] NULL 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NULL 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] NULL 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NULL 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesTest.testInlineImmutableMultipleTimes(InlineVariablesTest.java:444)
| 0.002 |
| InlineVariablesTest | testNoInlineStringMultipleTimesIfNotWorthwhile | Success | | 0.002 |
| InlineVariablesTest | testInlineStringMultipleTimesWhenAliasingAllStrings | Failure |
Expected: var y="abcdefghijklmnopqrstuvwxyz";var z="abcdefghijklmnopqrstuvwxyz"
Result:
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
STRING abcdefghijklmnopqrstuvwxyz 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
STRING abcdefghijklmnopqrstuvwxyz 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
STRING abcdefghijklmnopqrstuvwxyz 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
STRING abcdefghijklmnopqrstuvwxyz 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
junit.framework.AssertionFailedError: Expected: var y="abcdefghijklmnopqrstuvwxyz";var z="abcdefghijklmnopqrstuvwxyz" Result: Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] STRING abcdefghijklmnopqrstuvwxyz 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] STRING abcdefghijklmnopqrstuvwxyz 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] STRING abcdefghijklmnopqrstuvwxyz 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] STRING abcdefghijklmnopqrstuvwxyz 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesTest.testInlineStringMultipleTimesWhenAliasingAllStrings(InlineVariablesTest.java:456)
| 0.001 |
| InlineVariablesTest | testNoInlineBackwards | Failure |
Expected: var y=x;var x=null
Result:
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NULL 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NULL 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
junit.framework.AssertionFailedError: Expected: var y=x;var x=null Result: Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NULL 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NULL 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testNoInlineBackwards(InlineVariablesTest.java:462)
| 0.002 |
| InlineVariablesTest | testNoInlineOutOfBranch | Failure |
Expected: if(true)var x=null;var y=x
Result: if(true);
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NULL 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NULL 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
junit.framework.AssertionFailedError: Expected: if(true)var x=null;var y=x Result: if(true); Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NULL 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NULL 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testNoInlineOutOfBranch(InlineVariablesTest.java:466)
| 0.002 |
| InlineVariablesTest | testInterferingInlines | Success | | 0.002 |
| InlineVariablesTest | testInlineIntoTryCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [source_file: testcode]
NAME a 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME c 1 [source_file: testcode]
ADD 1 [source_file: testcode]
NAME a 1 [source_file: testcode]
NAME b 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME d 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME f 1 [source_file: testcode]
ADD 1 [source_file: testcode]
ADD 1 [source_file: testcode]
ADD 1 [source_file: testcode]
NAME a 1 [source_file: testcode]
NAME b 1 [source_file: testcode]
NAME c 1 [source_file: testcode]
NAME d 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME b 1 [source_file: testcode] NAME a 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME c 1 [source_file: testcode] ADD 1 [source_file: testcode] NAME a 1 [source_file: testcode] NAME b 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME d 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME f 1 [source_file: testcode] ADD 1 [source_file: testcode] ADD 1 [source_file: testcode] ADD 1 [source_file: testcode] NAME a 1 [source_file: testcode] NAME b 1 [source_file: testcode] NAME c 1 [source_file: testcode] NAME d 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesTest.testInlineIntoTryCatch(InlineVariablesTest.java:475)
| 0.001 |
| InlineVariablesTest | testInlineConstants | Success | | 0.005 |
| InlineVariablesTest | testInlineStringWhenWorthwhile | Success | | 0.001 |
| InlineVariablesTest | testInlineConstantAlias | Success | | 0.001 |
| InlineVariablesTest | testInlineConstantAliasWithAnnotation | Success | | 0.001 |
| InlineVariablesTest | testInlineConstantAliasWithNonConstant | Success | | 0.001 |
| InlineVariablesTest | testCascadingInlines | Success | | 0.002 |
| InlineVariablesTest | testInlineFunctionDeclaration | Success | | 0.009 |
| InlineVariablesTest | test2388531 | Success | | 0.004 |
| InlineVariablesTest | testRecursiveFunction1 | Failure |
Expected: var x=0;(function x$$1(){return x$$1?x$$1():3})()
Result: (function x$$1(){return x$$1?x$$1():3})()
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
FUNCTION x$$1 1 [source_file: expected0]
NAME x$$1 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
RETURN 1 [source_file: expected0]
HOOK 1 [source_file: expected0]
NAME x$$1 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME x$$1 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 3.0 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
FUNCTION x$$1 1 [source_file: testcode]
NAME x$$1 1 [is_constant_name: 1] [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
HOOK 1 [source_file: testcode]
NAME x$$1 1 [is_constant_name: 1] [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x$$1 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 3.0 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
FUNCTION x$$1 1 [source_file: expected0]
NAME x$$1 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
RETURN 1 [source_file: expected0]
HOOK 1 [source_file: expected0]
NAME x$$1 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME x$$1 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 3.0 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
FUNCTION x$$1 1 [source_file: testcode]
NAME x$$1 1 [is_constant_name: 1] [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
HOOK 1 [source_file: testcode]
NAME x$$1 1 [is_constant_name: 1] [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x$$1 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 3.0 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var x=0;(function x$$1(){return x$$1?x$$1():3})() Result: (function x$$1(){return x$$1?x$$1():3})() Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] FUNCTION x$$1 1 [source_file: expected0] NAME x$$1 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] RETURN 1 [source_file: expected0] HOOK 1 [source_file: expected0] NAME x$$1 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME x$$1 1 [is_constant_name: 1] [source_file: expected0] NUMBER 3.0 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] FUNCTION x$$1 1 [source_file: testcode] NAME x$$1 1 [is_constant_name: 1] [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode] HOOK 1 [source_file: testcode] NAME x$$1 1 [is_constant_name: 1] [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x$$1 1 [is_constant_name: 1] [source_file: testcode] NUMBER 3.0 1 [source_file: testcode]
Subtree1: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] FUNCTION x$$1 1 [source_file: expected0] NAME x$$1 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] RETURN 1 [source_file: expected0] HOOK 1 [source_file: expected0] NAME x$$1 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME x$$1 1 [is_constant_name: 1] [source_file: expected0] NUMBER 3.0 1 [source_file: expected0]
Subtree2: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] FUNCTION x$$1 1 [source_file: testcode] NAME x$$1 1 [is_constant_name: 1] [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode] HOOK 1 [source_file: testcode] NAME x$$1 1 [is_constant_name: 1] [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x$$1 1 [is_constant_name: 1] [source_file: testcode] NUMBER 3.0 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.InlineVariablesTest.testRecursiveFunction1(InlineVariablesTest.java:544)
| 0.002 |
| InlineVariablesTest | testRecursiveFunction2 | Success | | 0.002 |
| InlineVariablesTest | testUnreferencedBleedingFunction | Success | | 0.003 |
| InlineVariablesTest | testReferencedBleedingFunction | Success | | 0.004 |
| InlineVariablesTest | testInlineAliases1 | Success | | 0.003 |
| InlineVariablesTest | testInlineAliases1b | Success | | 0.002 |
| InlineVariablesTest | testInlineAliases1c | Success | | 0.002 |
| InlineVariablesTest | testInlineAliases1d | Success | | 0.003 |
| InlineVariablesTest | testInlineAliases2 | Success | | 0.002 |
| InlineVariablesTest | testInlineAliases2b | Success | | 0.010 |
| InlineVariablesTest | testInlineAliases2c | Success | | 0.005 |
| InlineVariablesTest | testInlineAliases2d | Success | | 0.003 |
| InlineVariablesTest | testInlineAliasesInLoop | Success | | 0.003 |
| InlineVariablesTest | testNoInlineAliasesInLoop | Success | | 0.058 |
| InlineVariablesTest | testNoInlineAliases1 | Success | | 0.008 |
| InlineVariablesTest | testNoInlineAliases1b | Success | | 0.005 |
| InlineVariablesTest | testNoInlineAliases2 | Success | | 0.002 |
| InlineVariablesTest | testNoInlineAliases2b | Success | | 0.003 |
| InlineVariablesTest | testNoInlineAliases3 | Success | | 0.004 |
| InlineVariablesTest | testNoInlineAliases3b | Success | | 0.005 |
| InlineVariablesTest | testNoInlineAliases4 | Success | | 0.002 |
| InlineVariablesTest | testNoInlineAliases4b | Success | | 0.007 |
| InlineVariablesTest | testNoInlineAliases5 | Success | | 0.002 |
| InlineVariablesTest | testNoInlineAliases5b | Success | | 0.003 |
| InlineVariablesTest | testNoInlineAliases6 | Success | | 0.002 |
| InlineVariablesTest | testNoInlineAliases6b | Success | | 0.002 |
| InlineVariablesTest | testNoInlineAliases7 | Success | | 0.002 |
| InlineVariablesTest | testNoInlineAliases7b | Success | | 0.004 |
| InlineVariablesTest | testNoInlineAliases8 | Success | | 0.002 |
| InlineVariablesTest | testNoInlineAliases8b | Success | | 0.006 |
| InlineVariablesTest | testSideEffectOrder | Success | | 0.006 |
| InlineVariablesTest | testInlineParameterAlias1 | Success | | 0.002 |
| InlineVariablesTest | testInlineParameterAlias2 | Success | | 0.003 |
| InlineVariablesTest | testInlineFunctionAlias1a | Success | | 0.002 |
| InlineVariablesTest | testInlineFunctionAlias1b | Success | | 0.002 |
| InlineVariablesTest | testInlineFunctionAlias2a | Success | | 0.002 |
| InlineVariablesTest | testInlineFunctionAlias2b | Success | | 0.002 |
| InlineVariablesTest | testInlineCatchAlias1 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME g 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [source_file: testcode] NAME e 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME g 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME y 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME y 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesTest.testInlineCatchAlias1(InlineVariablesTest.java:818)
| 0.001 |
| InlineVariablesTest | testInlineCatchAlias2 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME g 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME y 1 [source_file: testcode] NAME e 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME g 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME y 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME y 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InlineVariablesTest.testInlineCatchAlias2(InlineVariablesTest.java:834)
| 0.003 |
| InlineVariablesTest | testLocalsOnly1 | Success | | 0.006 |
| InlineVariablesTest | testLocalsOnly2 | Success | | 0.002 |
| InlineVariablesTest | testInlineUndefined1 | Success | | 0.002 |
| InlineVariablesTest | testInlineUndefined2 | Success | | 0.001 |
| InlineVariablesTest | testInlineUndefined3 | Success | | 0.001 |
| InlineVariablesTest | testInlineUndefined4 | Success | | 0.002 |
| InlineVariablesTest | testInlineUndefined5 | Success | | 0.001 |
| InlineVariablesTest | testIssue90 | Success | | 0.001 |
| InlineVariablesTest | testThisAlias | Success | | 0.002 |
| InlineVariablesTest | testThisEscapedAlias | Success | | 0.002 |
| InlineVariablesTest | testInlineNamedFunction | Success | | 0.001 |
| InlineVariablesTest | testIssue378ModifiedArguments1 | Success | | 0.006 |
| InlineVariablesTest | testIssue378ModifiedArguments2 | Success | | 0.003 |
| InlineVariablesTest | testIssue378EscapedArguments1 | Success | | 0.002 |
| InlineVariablesTest | testIssue378EscapedArguments2 | Success | | 0.003 |
| InlineVariablesTest | testIssue378EscapedArguments3 | Success | | 0.002 |
| InlineVariablesTest | testIssue378EscapedArguments4 | Success | | 0.003 |
| InlineVariablesTest | testIssue378ArgumentsRead1 | Success | | 0.002 |
| InlineVariablesTest | testIssue378ArgumentsRead2 | Success | | 0.003 |
| InlineVariablesTest | testArgumentsModifiedInOuterFunction | Success | | 0.002 |
| InlineVariablesTest | testArgumentsModifiedInInnerFunction | Success | | 0.002 |
| InlineVariablesTest | testNoInlineRedeclaredExterns | Success | | 0.001 |
| InlineVariablesTest | testBug6598844 | Success | | 0.003 |
| InlineVariablesTest | testExternalIssue1053 | Success | | 0.002 |
| InlineVariablesTest | testHoistedFunction3 | Success | | 0.002 |
| InlineVariablesTest | testHoistedFunction4 | Success | | 0.002 |
| InlineVariablesTest | testHoistedFunction5 | Success | | 0.001 |
| InlineVariablesTest | testHoistedFunction6 | Success | | 0.001 |
| InlineVariablesTest | testIssue354 | Success | | 0.003 |
| InstrumentFunctionsTest | testInstrument | Success | | 0.028 |
| InstrumentFunctionsTest | testEmpty | Success | | 0.001 |
| InstrumentFunctionsTest | testAppNameSetter | Success | | 0.001 |
| InstrumentFunctionsTest | testInit | Success | | 0.001 |
| InstrumentFunctionsTest | testDeclare | Success | | 0.002 |
| InstrumentFunctionsTest | testCall | Success | | 0.001 |
| InstrumentFunctionsTest | testNested | Success | | 0.001 |
| InstrumentFunctionsTest | testExitPaths | Success | | 0.009 |
| InstrumentFunctionsTest | testExitNoReturn | Success | | 0.002 |
| InstrumentFunctionsTest | testPartialExitPaths | Success | | 0.002 |
| InstrumentFunctionsTest | testExitTry | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME err 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME err 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.InstrumentFunctionsTest.testExitTry(InstrumentFunctionsTest.java:197)
| 0.001 |
| InstrumentFunctionsTest | testNestedExit | Success | | 0.002 |
| InstrumentFunctionsTest | testProtobuffParseFail | Success | | 0.001 |
| InstrumentFunctionsTest | testInitJsParseFail | Success | | 0.001 |
| IntegrationTest | testManyAdds | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testManyAdds(IntegrationTest.java:3083)
| 0.488 |
| IntegrationTest | testExports | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testExports(IntegrationTest.java:2993)
| 0.009 |
| IntegrationTest | testIssue724 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i0:1:13
isFunction = function(functionToCheck) { var getType = {}; return functionToCheck && getType.toString.apply(functionToCheck) === '[object Function]';};
Parent(ASSIGN): i0:1:0
isFunction = function(functionToCheck) { var getType = {}; return functionToCheck && getType.toString.apply(functionToCheck) === '[object Function]';};
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i0:1:13 isFunction = function(functionToCheck) { var getType = {}; return functionToCheck && getType.toString.apply(functionToCheck) === '[object Function]';}; Parent(ASSIGN): i0:1:0 isFunction = function(functionToCheck) { var getType = {}; return functionToCheck && getType.toString.apply(functionToCheck) === '[object Function]';};
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| IntegrationTest | testMissingReturn | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 24 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 24 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testMissingReturn(IntegrationTest.java:591)
| 0.003 |
| IntegrationTest | testBug1956277 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testBug1956277(IntegrationTest.java:96)
| 0.002 |
| IntegrationTest | testCheckGlobalThisOff | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testCheckGlobalThisOff(IntegrationTest.java:314)
| 0.004 |
| IntegrationTest | testInlineVariables | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testInlineVariables(IntegrationTest.java:1047)
| 0.003 |
| IntegrationTest | testHiddenSideEffect | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testHiddenSideEffect(IntegrationTest.java:2594)
| 0.009 |
| IntegrationTest | testInlineConstants | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testInlineConstants(IntegrationTest.java:1059)
| 0.002 |
| IntegrationTest | testIssue90 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testIssue90(IntegrationTest.java:168)
| 0.005 |
| IntegrationTest | testConstructorCycle | Failure | Unexpected warnings or errors.
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 28
Warning:JSC_PARSE_ERROR. Parse error. Cycle detected in inheritance chain of type Foo at i0 line 4 : 34
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 28 Warning:JSC_PARSE_ERROR. Parse error. Cycle detected in inheritance chain of type Foo at i0 line 4 : 34 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testConstructorCycle(IntegrationTest.java:52)
| 0.006 |
| IntegrationTest | testBug1949424 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testBug1949424(IntegrationTest.java:65)
| 0.002 |
| IntegrationTest | testBug1949424_v2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testBug1949424_v2(IntegrationTest.java:73)
| 0.003 |
| IntegrationTest | testUnresolvedDefine | Failure | Unexpected warnings or errors.
Error:JSC_INVALID_DEFINE_TYPE_ERROR. @define tag only permits literal types at i0 line 1 : 62
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
Warning:JSC_TYPE_PARSE_ERROR. Bad type annotation. Unknown type foo.bar at i0 line 1 : 50
expected:<2> but was:<3>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Error:JSC_INVALID_DEFINE_TYPE_ERROR. @define tag only permits literal types at i0 line 1 : 62 Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 Warning:JSC_TYPE_PARSE_ERROR. Bad type annotation. Unknown type foo.bar at i0 line 1 : 50 expected:<2> but was:<3> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:196) at com.google.javascript.jscomp.IntegrationTest.testUnresolvedDefine(IntegrationTest.java:89)
| 0.005 |
| IntegrationTest | testBug1962380 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testBug1962380(IntegrationTest.java:108)
| 0.004 |
| IntegrationTest | testBug2410122 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testBug2410122(IntegrationTest.java:119)
| 0.002 |
| IntegrationTest | testBug18078936 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i0:1:30
var goog = {};goog.inherits = function(a,b) {};goog.defineClass = function(a,b) {};/** @template T */
Parent(ASSIGN): i0:1:14
var goog = {};goog.inherits = function(a,b) {};goog.defineClass = function(a,b) {};/** @template T */
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i0:1:30 var goog = {};goog.inherits = function(a,b) {};goog.defineClass = function(a,b) {};/** @template T */ Parent(ASSIGN): i0:1:14 var goog = {};goog.inherits = function(a,b) {};goog.defineClass = function(a,b) {};/** @template T */
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| IntegrationTest | testClosurePassOff | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testClosurePassOff(IntegrationTest.java:174)
| 0.002 |
| IntegrationTest | testClosurePassOn | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testClosurePassOn(IntegrationTest.java:186)
| 0.005 |
| IntegrationTest | testCssNameCheck | Success | | 0.003 |
| IntegrationTest | testCheckEventfulDisposalWarningLevels | Failure | Unexpected warnings or errors.
Error:JSC_EVENTFUL_OBJECT_NOT_DISPOSED. eventful object created should be
* registered as disposable, or
* explicitly disposed of at i0 line 6 : 42
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
Warning:JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at i0 line 6 : 86
expected:<1> but was:<3>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Error:JSC_EVENTFUL_OBJECT_NOT_DISPOSED. eventful object created should be * registered as disposable, or * explicitly disposed of at i0 line 6 : 42 Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 Warning:JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at i0 line 6 : 86 expected:<1> but was:<3> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testCheckEventfulDisposalWarningLevels(IntegrationTest.java:230)
| 0.006 |
| IntegrationTest | testBug2592659 | Failure | Unexpected warnings or errors.
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
Warning:JSC_TYPE_MISMATCH. actual parameter 1 of goog.getCssName does not match formal parameter
found : number
required: string at i0 line 8 : 24
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 Warning:JSC_TYPE_MISMATCH. actual parameter 1 of goog.getCssName does not match formal parameter found : number required: string at i0 line 8 : 24 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testBug2592659(IntegrationTest.java:243)
| 0.005 |
| IntegrationTest | testTypedefBeforeOwner1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testTypedefBeforeOwner1(IntegrationTest.java:259)
| 0.002 |
| IntegrationTest | testTypedefBeforeOwner2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testTypedefBeforeOwner2(IntegrationTest.java:272)
| 0.010 |
| IntegrationTest | testExportedNames | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testExportedNames(IntegrationTest.java:285)
| 0.002 |
| IntegrationTest | testCheckGlobalThisOn | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): i0:1:0
function f() { this.y = 3; }
Parent(SCRIPT): i0:1:0
function f() { this.y = 3; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): i0:1:0 function f() { this.y = 3; } Parent(SCRIPT): i0:1:0 function f() { this.y = 3; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.001 |
| IntegrationTest | testSusiciousCodeOff | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): i0:1:0
function f() { this.y = 3; }
Parent(SCRIPT): i0:1:0
function f() { this.y = 3; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): i0:1:0 function f() { this.y = 3; } Parent(SCRIPT): i0:1:0 function f() { this.y = 3; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.001 |
| IntegrationTest | testCheckRequiresAndCheckProvidesOff | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTest.testCheckRequiresAndCheckProvidesOff(IntegrationTest.java:318)
| 0.002 |
| IntegrationTest | testCheckProvidesOn | Success | | 0.001 |
| IntegrationTest | testGenerateExportsOff | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 15 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 15 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testGenerateExportsOff(IntegrationTest.java:332)
| 0.001 |
| IntegrationTest | testGenerateExportsOn | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 15 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 15 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testGenerateExportsOn(IntegrationTest.java:338)
| 0.001 |
| IntegrationTest | testAngularPassOff | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 17 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 17 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testAngularPassOff(IntegrationTest.java:343)
| 0.001 |
| IntegrationTest | testAngularPassOn | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 17 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 17 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testAngularPassOn(IntegrationTest.java:352)
| 0.002 |
| IntegrationTest | testExportTestFunctionsOff | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testExportTestFunctionsOff(IntegrationTest.java:363)
| 0.002 |
| IntegrationTest | testExportTestFunctionsOn | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testExportTestFunctionsOn(IntegrationTest.java:369)
| 0.002 |
| IntegrationTest | testExpose | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION moe): i0:1:184
var x = {eeny: 1, /** @expose */ meeny: 2};/** @constructor */ var Foo = function() {};/** @expose */ Foo.prototype.miny = 3;Foo.prototype.moe = 4;/** @expose */ Foo.prototype.tiger;function moe(a, b) { return a.meeny + b.miny + a.tiger; }window['x'] = x;window['Foo'] = Foo;window['moe'] = moe;
Parent(SCRIPT): i0:1:0
var x = {eeny: 1, /** @expose */ meeny: 2};/** @constructor */ var Foo = function() {};/** @expose */ Foo.prototype.miny = 3;Foo.prototype.moe = 4;/** @expose */ Foo.prototype.tiger;function moe(a, b) { return a.meeny + b.miny + a.tiger; }window['x'] = x;window['Foo'] = Foo;window['moe'] = moe;
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION moe): i0:1:184 var x = {eeny: 1, /** @expose */ meeny: 2};/** @constructor */ var Foo = function() {};/** @expose */ Foo.prototype.miny = 3;Foo.prototype.moe = 4;/** @expose */ Foo.prototype.tiger;function moe(a, b) { return a.meeny + b.miny + a.tiger; }window['x'] = x;window['Foo'] = Foo;window['moe'] = moe; Parent(SCRIPT): i0:1:0 var x = {eeny: 1, /** @expose */ meeny: 2};/** @constructor */ var Foo = function() {};/** @expose */ Foo.prototype.miny = 3;Foo.prototype.moe = 4;/** @expose */ Foo.prototype.tiger;function moe(a, b) { return a.meeny + b.miny + a.tiger; }window['x'] = x;window['Foo'] = Foo;window['moe'] = moe;
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| IntegrationTest | testCheckSymbolsOff | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testCheckSymbolsOff(IntegrationTest.java:399)
| 0.002 |
| IntegrationTest | testCheckSymbolsOn | Success | | 0.001 |
| IntegrationTest | testCheckReferencesOff | Failure | Expected no warnings or errors
Errors:
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant x assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 11Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Original definition at i0:1 at i0 line 1 : 11Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testCheckReferencesOff(IntegrationTest.java:410)
| 0.002 |
| IntegrationTest | testCheckReferencesOn | Success | | 0.001 |
| IntegrationTest | testInferTypes | Failure | Unexpected warnings or errors.
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25
Warning:JSC_ENUM_NOT_CONSTANT. enum key a must be in ALL_CAPS at i0 line 1 : 136
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 Warning:JSC_ENUM_NOT_CONSTANT. enum key a must be in ALL_CAPS at i0 line 1 : 136 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testInferTypes(IntegrationTest.java:426)
| 0.004 |
| IntegrationTest | testTypeCheckAndInference | Failure | expected:<JSC_TYPE_MISMATCH: {0}> but was:<JSC_UNREACHABLE_CODE: unreachable code>
junit.framework.AssertionFailedError: expected:<JSC_TYPE_MISMATCH: {0}> but was:<JSC_UNREACHABLE_CODE: unreachable code> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:143) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testTypeCheckAndInference(IntegrationTest.java:439)
| 0.004 |
| IntegrationTest | testTypeNameParser | Failure | Unexpected warnings or errors.
Warning:JSC_TYPE_PARSE_ERROR. Bad type annotation. Unknown type n at i0 line 1 : 11
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 17
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Warning:JSC_TYPE_PARSE_ERROR. Bad type annotation. Unknown type n at i0 line 1 : 11 Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 17 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testTypeNameParser(IntegrationTest.java:447)
| 0.003 |
| IntegrationTest | testMemoizedTypedScopeCreator | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at i0 line 8 : 2
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at i0 line 10 : 2 expected:<0> but was:<3>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at i0 line 8 : 2 JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at i0 line 10 : 2 expected:<0> but was:<3> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testMemoizedTypedScopeCreator(IntegrationTest.java:460)
| 0.004 |
| IntegrationTest | testCheckTypes | Failure | Unexpected warnings or errors.
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
Warning:JSC_WRONG_ARGUMENT_COUNT. Function x.f: called with 1 argument(s). Function requires at least 0 argument(s) and no more than 0 argument(s). at i0 line 1 : 38
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testCheckTypes(IntegrationTest.java:485)
| 0.003 |
| IntegrationTest | testReplaceCssNames | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 2 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 2 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testReplaceCssNames(IntegrationTest.java:492)
| 0.003 |
| IntegrationTest | testReplaceIdGeneratorsTest | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 28 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 28 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testReplaceIdGeneratorsTest(IntegrationTest.java:521)
| 0.005 |
| IntegrationTest | testRemoveClosureAsserts | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRemoveClosureAsserts(IntegrationTest.java:535)
| 0.003 |
| IntegrationTest | testDeprecation | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 19 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 19 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testDeprecation(IntegrationTest.java:550)
| 0.002 |
| IntegrationTest | testVisibility | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 16
JSC_UNREACHABLE_CODE. unreachable code at i1 line 1 : 13 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 16 JSC_UNREACHABLE_CODE. unreachable code at i1 line 1 : 13 expected:<0> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTest.testVisibility(IntegrationTest.java:566)
| 0.002 |
| IntegrationTest | testUnreachableCode | Success | | 0.008 |
| IntegrationTest | testIdGenerators | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testIdGenerators(IntegrationTest.java:604)
| 0.002 |
| IntegrationTest | testOptimizeArgumentsArray | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testOptimizeArgumentsArray(IntegrationTest.java:614)
| 0.001 |
| IntegrationTest | testOptimizeParameters | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testOptimizeParameters(IntegrationTest.java:626)
| 0.002 |
| IntegrationTest | testOptimizeReturns | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testOptimizeReturns(IntegrationTest.java:636)
| 0.001 |
| IntegrationTest | testRemoveAbstractMethods | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRemoveAbstractMethods(IntegrationTest.java:647)
| 0.002 |
| IntegrationTest | testGoogDefine1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testGoogDefine1(IntegrationTest.java:664)
| 0.004 |
| IntegrationTest | testGoogDefine2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testGoogDefine2(IntegrationTest.java:677)
| 0.007 |
| IntegrationTest | testCollapseProperties1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testCollapseProperties1(IntegrationTest.java:685)
| 0.002 |
| IntegrationTest | testCollapseProperties2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testCollapseProperties2(IntegrationTest.java:696)
| 0.003 |
| IntegrationTest | testCollapseObjectLiteral1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testCollapseObjectLiteral1(IntegrationTest.java:708)
| 0.002 |
| IntegrationTest | testCollapseObjectLiteral2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testCollapseObjectLiteral2(IntegrationTest.java:719)
| 0.002 |
| IntegrationTest | testDisambiguateProperties | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testDisambiguateProperties(IntegrationTest.java:736)
| 0.002 |
| IntegrationTest | testMarkPureCalls | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testMarkPureCalls(IntegrationTest.java:750)
| 0.002 |
| IntegrationTest | testMarkNoSideEffects | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testMarkNoSideEffects(IntegrationTest.java:761)
| 0.002 |
| IntegrationTest | testChainedCalls | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testChainedCalls(IntegrationTest.java:770)
| 0.003 |
| IntegrationTest | testExtraAnnotationNames | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 13 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 13 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testExtraAnnotationNames(IntegrationTest.java:786)
| 0.002 |
| IntegrationTest | testDevirtualizePrototypeMethods | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testDevirtualizePrototypeMethods(IntegrationTest.java:795)
| 0.002 |
| IntegrationTest | testCheckConsts | Failure | Unexpected warnings or errors.
Error:JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant FOO assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 16
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Original definition at i0:1 at i0 line 1 : 16 Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testCheckConsts(IntegrationTest.java:809)
| 0.001 |
| IntegrationTest | testAllChecksOn | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testAllChecksOn(IntegrationTest.java:827)
| 0.007 |
| IntegrationTest | testTypeCheckingWithSyntheticBlocks | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testTypeCheckingWithSyntheticBlocks(IntegrationTest.java:839)
| 0.004 |
| IntegrationTest | testCompilerDoesNotBlowUpIfUndefinedSymbols | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testCompilerDoesNotBlowUpIfUndefinedSymbols(IntegrationTest.java:860)
| 0.003 |
| IntegrationTest | testConstantTagsMustAlwaysBeRemoved | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testConstantTagsMustAlwaysBeRemoved(IntegrationTest.java:879)
| 0.002 |
| IntegrationTest | testClosurePassPreservesJsDoc | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testClosurePassPreservesJsDoc(IntegrationTest.java:887)
| 0.007 |
| IntegrationTest | testProvidedNamespaceIsConst | Failure | Unexpected warnings or errors.
Error:JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant foo assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 51
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Original definition at i0:1 at i0 line 1 : 51 Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:121) at com.google.javascript.jscomp.IntegrationTest.testProvidedNamespaceIsConst(IntegrationTest.java:904)
| 0.003 |
| IntegrationTest | testProvidedNamespaceIsConst2 | Failure | Unexpected warnings or errors.
Error:JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant foo$bar assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 55
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Original definition at i0:1 at i0 line 1 : 55 Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:121) at com.google.javascript.jscomp.IntegrationTest.testProvidedNamespaceIsConst2(IntegrationTest.java:915)
| 0.002 |
| IntegrationTest | testProvidedNamespaceIsConst3 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testProvidedNamespaceIsConst3(IntegrationTest.java:929)
| 0.003 |
| IntegrationTest | testProvidedNamespaceIsConst4 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testProvidedNamespaceIsConst4(IntegrationTest.java:944)
| 0.002 |
| IntegrationTest | testProvidedNamespaceIsConst5 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testProvidedNamespaceIsConst5(IntegrationTest.java:956)
| 0.003 |
| IntegrationTest | testProcessDefinesAlwaysOn | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testProcessDefinesAlwaysOn(IntegrationTest.java:964)
| 0.001 |
| IntegrationTest | testProcessDefinesAdditionalReplacements | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 25 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testProcessDefinesAdditionalReplacements(IntegrationTest.java:972)
| 0.001 |
| IntegrationTest | testReplaceMessages | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testReplaceMessages(IntegrationTest.java:980)
| 0.001 |
| IntegrationTest | testCheckGlobalNames | Failure | Unexpected warnings or errors.
Error:JSC_UNDEFINED_NAME. x.z is never defined at i0 line 1 : 20
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Error:JSC_UNDEFINED_NAME. x.z is never defined at i0 line 1 : 20 Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testCheckGlobalNames(IntegrationTest.java:990)
| 0.001 |
| IntegrationTest | testInlineGetters | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testInlineGetters(IntegrationTest.java:999)
| 0.001 |
| IntegrationTest | testInlineGettersWithAmbiguate | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 19 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 19 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testInlineGettersWithAmbiguate(IntegrationTest.java:1022)
| 0.001 |
| IntegrationTest | testMinimizeExits | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testMinimizeExits(IntegrationTest.java:1071)
| 0.002 |
| IntegrationTest | testFoldConstants | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testFoldConstants(IntegrationTest.java:1083)
| 0.002 |
| IntegrationTest | testRemoveUnreachableCode | Success | | 0.004 |
| IntegrationTest | testRemoveUnusedPrototypeProperties1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRemoveUnusedPrototypeProperties1(IntegrationTest.java:1104)
| 0.001 |
| IntegrationTest | testRemoveUnusedPrototypeProperties2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRemoveUnusedPrototypeProperties2(IntegrationTest.java:1115)
| 0.001 |
| IntegrationTest | testSmartNamePass | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testSmartNamePass(IntegrationTest.java:1128)
| 0.002 |
| IntegrationTest | testSmartNamePassBug11163486 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testSmartNamePassBug11163486(IntegrationTest.java:1173)
| 0.012 |
| IntegrationTest | testDeadCodeHasNoDisambiguationSideEffects | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testDeadCodeHasNoDisambiguationSideEffects(IntegrationTest.java:1244)
| 0.020 |
| IntegrationTest | testQMarkTIsNullable | Failure | expected:<JSC_TYPE_MISMATCH: {0}> but was:<JSC_UNREACHABLE_CODE: unreachable code>
junit.framework.AssertionFailedError: expected:<JSC_TYPE_MISMATCH: {0}> but was:<JSC_UNREACHABLE_CODE: unreachable code> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:143) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testQMarkTIsNullable(IntegrationTest.java:1257)
| 0.005 |
| IntegrationTest | testTIsNotNullable | Failure | expected:<JSC_TYPE_MISMATCH: {0}> but was:<JSC_UNREACHABLE_CODE: unreachable code>
junit.framework.AssertionFailedError: expected:<JSC_TYPE_MISMATCH: {0}> but was:<JSC_UNREACHABLE_CODE: unreachable code> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:143) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testTIsNotNullable(IntegrationTest.java:1269)
| 0.005 |
| IntegrationTest | testDeadAssignmentsElimination | Failure | Expected no warnings or errors
Errors:
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant x assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 29Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Original definition at i0:1 at i0 line 1 : 29Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testDeadAssignmentsElimination(IntegrationTest.java:1275)
| 0.002 |
| IntegrationTest | testInlineFunctions | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testInlineFunctions(IntegrationTest.java:1287)
| 0.001 |
| IntegrationTest | testRemoveUnusedVars1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRemoveUnusedVars1(IntegrationTest.java:1296)
| 0.002 |
| IntegrationTest | testRemoveUnusedVars2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRemoveUnusedVars2(IntegrationTest.java:1305)
| 0.001 |
| IntegrationTest | testCrossModuleCodeMotion | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTest.testCrossModuleCodeMotion(IntegrationTest.java:1320)
| 0.002 |
| IntegrationTest | testCrossModuleMethodMotion | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTest.testCrossModuleMethodMotion(IntegrationTest.java:1336)
| 0.001 |
| IntegrationTest | testFlowSensitiveInlineVariables1 | Failure | Expected no warnings or errors
Errors:
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant x assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 26Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Original definition at i0:1 at i0 line 1 : 26Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testFlowSensitiveInlineVariables1(IntegrationTest.java:1350)
| 0.002 |
| IntegrationTest | testFlowSensitiveInlineVariables2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testFlowSensitiveInlineVariables2(IntegrationTest.java:1366)
| 0.007 |
| IntegrationTest | testCollapseAnonymousFunctions | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testCollapseAnonymousFunctions(IntegrationTest.java:1380)
| 0.002 |
| IntegrationTest | testMoveFunctionDeclarations | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testMoveFunctionDeclarations(IntegrationTest.java:1389)
| 0.001 |
| IntegrationTest | testNameAnonymousFunctions | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testNameAnonymousFunctions(IntegrationTest.java:1398)
| 0.002 |
| IntegrationTest | testNameAnonymousFunctionsWithVarRemoval | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testNameAnonymousFunctionsWithVarRemoval(IntegrationTest.java:1415)
| 0.002 |
| IntegrationTest | testExtractPrototypeMemberDeclarations | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testExtractPrototypeMemberDeclarations(IntegrationTest.java:1440)
| 0.002 |
| IntegrationTest | testDevirtualizationAndExtractPrototypeMemberDeclarations | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testDevirtualizationAndExtractPrototypeMemberDeclarations(IntegrationTest.java:1501)
| 0.004 |
| IntegrationTest | testCoalesceVariableNames | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testCoalesceVariableNames(IntegrationTest.java:1507)
| 0.002 |
| IntegrationTest | testPropertyRenaming | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testPropertyRenaming(IntegrationTest.java:1527)
| 0.001 |
| IntegrationTest | testConvertToDottedProperties | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testConvertToDottedProperties(IntegrationTest.java:1545)
| 0.002 |
| IntegrationTest | testRewriteFunctionExpressions | Failure | Expected no warnings or errors
Errors:
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 22
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 40
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 58
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 76
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 94
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 112
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 130
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 148
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 166
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 184Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<11>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Original definition at i0:1 at i0 line 1 : 22 Original definition at i0:1 at i0 line 1 : 40 Original definition at i0:1 at i0 line 1 : 58 Original definition at i0:1 at i0 line 1 : 76 Original definition at i0:1 at i0 line 1 : 94 Original definition at i0:1 at i0 line 1 : 112 Original definition at i0:1 at i0 line 1 : 130 Original definition at i0:1 at i0 line 1 : 148 Original definition at i0:1 at i0 line 1 : 166 Original definition at i0:1 at i0 line 1 : 184Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<11> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRewriteFunctionExpressions(IntegrationTest.java:1561)
| 0.002 |
| IntegrationTest | testAliasAllStrings | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testAliasAllStrings(IntegrationTest.java:1571)
| 0.001 |
| IntegrationTest | testAliasExterns | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testAliasExterns(IntegrationTest.java:1583)
| 0.001 |
| IntegrationTest | testRenameVars1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRenameVars1(IntegrationTest.java:1595)
| 0.002 |
| IntegrationTest | testRenameVars2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testRenameVars2(IntegrationTest.java:1615)
| 0.001 |
| IntegrationTest | testShadowVaribles | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testShadowVaribles(IntegrationTest.java:1627)
| 0.002 |
| IntegrationTest | testRenameLabels | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRenameLabels(IntegrationTest.java:1634)
| 0.001 |
| IntegrationTest | testBadBreakStatementInIdeMode | Success | | 0.004 |
| IntegrationTest | testIssue63SourceMap | Success | | 0.001 |
| IntegrationTest | testRegExp1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRegExp1(IntegrationTest.java:1670)
| 0.002 |
| IntegrationTest | testRegExp2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRegExp2(IntegrationTest.java:1686)
| 0.002 |
| IntegrationTest | testFoldLocals1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testFoldLocals1(IntegrationTest.java:1706)
| 0.002 |
| IntegrationTest | testFoldLocals2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testFoldLocals2(IntegrationTest.java:1723)
| 0.004 |
| IntegrationTest | testFoldLocals3 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testFoldLocals3(IntegrationTest.java:1742)
| 0.002 |
| IntegrationTest | testFoldLocals4 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 2 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 2 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testFoldLocals4(IntegrationTest.java:1762)
| 0.002 |
| IntegrationTest | testFoldLocals5 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testFoldLocals5(IntegrationTest.java:1790)
| 0.001 |
| IntegrationTest | testFoldLocals6 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testFoldLocals6(IntegrationTest.java:1807)
| 0.001 |
| IntegrationTest | testFoldLocals7 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testFoldLocals7(IntegrationTest.java:1825)
| 0.003 |
| IntegrationTest | testVarDeclarationsIntoFor | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testVarDeclarationsIntoFor(IntegrationTest.java:1844)
| 0.001 |
| IntegrationTest | testExploitAssigns | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testExploitAssigns(IntegrationTest.java:1858)
| 0.001 |
| IntegrationTest | testRecoverOnBadExterns | Failure | Unexpected warnings or errors.
Warning:JSC_UNDEFINED_EXTERN_VAR_ERROR. name extern is not defined in the externs. at externs line 1 : 0
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Warning:JSC_UNDEFINED_EXTERN_VAR_ERROR. name extern is not defined in the externs. at externs line 1 : 0 Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:121) at com.google.javascript.jscomp.IntegrationTest.testRecoverOnBadExterns(IntegrationTest.java:1880)
| 0.002 |
| IntegrationTest | testDuplicateVariablesInExterns | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testDuplicateVariablesInExterns(IntegrationTest.java:1893)
| 0.001 |
| IntegrationTest | testLanguageMode | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testLanguageMode(IntegrationTest.java:1916)
| 0.003 |
| IntegrationTest | testLanguageMode2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testLanguageMode2(IntegrationTest.java:1932)
| 0.001 |
| IntegrationTest | testIssue598 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION App): i0:2:0
function App() {}
Parent(SCRIPT): i0:1:0
'use strict';
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION App): i0:2:0 function App() {} Parent(SCRIPT): i0:1:0 'use strict';
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| IntegrationTest | testCheckStrictMode | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION App): i0:1:0
function App() {}
Parent(SCRIPT): i0:1:0
function App() {}
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION App): i0:1:0 function App() {} Parent(SCRIPT): i0:1:0 function App() {}
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.001 |
| IntegrationTest | testIssue701 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 6 : 2 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 6 : 2 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testIssue701(IntegrationTest.java:1999)
| 0.002 |
| IntegrationTest | testIssue730 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i0:3:22
B.prototype.dostuff = function() {this.a.foo++;alert('hi');}
Parent(ASSIGN): i0:3:0
B.prototype.dostuff = function() {this.a.foo++;alert('hi');}
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i0:3:22 B.prototype.dostuff = function() {this.a.foo++;alert('hi');} Parent(ASSIGN): i0:3:0 B.prototype.dostuff = function() {this.a.foo++;alert('hi');}
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| IntegrationTest | testAddFunctionProperties1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i0:1:31
var Foo = {};var addFuncProp = function(o) { o.f = function() {}};addFuncProp(Foo);alert(Foo.f());
Parent(NAME addFuncProp): i0:1:17
var Foo = {};var addFuncProp = function(o) { o.f = function() {}};addFuncProp(Foo);alert(Foo.f());
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i0:1:31 var Foo = {};var addFuncProp = function(o) { o.f = function() {}};addFuncProp(Foo);alert(Foo.f()); Parent(NAME addFuncProp): i0:1:17 var Foo = {};var addFuncProp = function(o) { o.f = function() {}};addFuncProp(Foo);alert(Foo.f());
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.001 |
| IntegrationTest | testAddFunctionProperties2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testAddFunctionProperties2(IntegrationTest.java:2085)
| 0.011 |
| IntegrationTest | testAddFunctionProperties3 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 20 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testAddFunctionProperties3(IntegrationTest.java:2107)
| 0.008 |
| IntegrationTest | testAddFunctionProperties4 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i0:1:83
/** @constructor */var Foo = function() {};var goog = {};goog.addSingletonGetter = function(o) { o.f = function() { o.i = new o; };};goog.addSingletonGetter(Foo);alert(Foo.f());
Parent(ASSIGN): i0:1:57
/** @constructor */var Foo = function() {};var goog = {};goog.addSingletonGetter = function(o) { o.f = function() { o.i = new o; };};goog.addSingletonGetter(Foo);alert(Foo.f());
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i0:1:83 /** @constructor */var Foo = function() {};var goog = {};goog.addSingletonGetter = function(o) { o.f = function() { o.i = new o; };};goog.addSingletonGetter(Foo);alert(Foo.f()); Parent(ASSIGN): i0:1:57 /** @constructor */var Foo = function() {};var goog = {};goog.addSingletonGetter = function(o) { o.f = function() { o.i = new o; };};goog.addSingletonGetter(Foo);alert(Foo.f());
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| IntegrationTest | testCoaleseVariables | Success | | 0.006 |
| IntegrationTest | testLateStatementFusion | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testLateStatementFusion(IntegrationTest.java:2200)
| 0.002 |
| IntegrationTest | testLateConstantReordering | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testLateConstantReordering(IntegrationTest.java:2206)
| 0.003 |
| IntegrationTest | testsyntheticBlockOnDeadAssignments | Failure | Expected no warnings or errors
Errors:
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant x assigned a value more than once.
Original definition at i0:1 at i0 line 1 : 23Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Original definition at i0:1 at i0 line 1 : 23Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testsyntheticBlockOnDeadAssignments(IntegrationTest.java:2216)
| 0.002 |
| IntegrationTest | testBug4152835 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testBug4152835(IntegrationTest.java:2225)
| 0.002 |
| IntegrationTest | testNoFuseIntoSyntheticBlock | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testNoFuseIntoSyntheticBlock(IntegrationTest.java:2234)
| 0.003 |
| IntegrationTest | testBug5786871 | Failure | Unexpected warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.testParseError(IntegrationTestCase.java:174) at com.google.javascript.jscomp.IntegrationTestCase.testParseError(IntegrationTestCase.java:160) at com.google.javascript.jscomp.IntegrationTest.testBug5786871(IntegrationTest.java:2245)
| 0.002 |
| IntegrationTest | testIssue378 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testIssue378(IntegrationTest.java:2252)
| 0.003 |
| IntegrationTest | testIssue550 | Failure | Expected no warnings or errors
Errors:
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:2 at i0 line 3 : 2
JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant a assigned a value more than once.
Original definition at i0:2 at i0 line 4 : 2Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<3>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Original definition at i0:2 at i0 line 3 : 2 Original definition at i0:2 at i0 line 4 : 2Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<3> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testIssue550(IntegrationTest.java:2265)
| 0.002 |
| IntegrationTest | testIssue1168 | Success | | 0.006 |
| IntegrationTest | testIssue1198 | Success | | 0.005 |
| IntegrationTest | testIssue1131 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): i0:1:0
function f(k) { return k(k); } alert(f(f));
Parent(SCRIPT): i0:1:0
function f(k) { return k(k); } alert(f(f));
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): i0:1:0 function f(k) { return k(k); } alert(f(f)); Parent(SCRIPT): i0:1:0 function f(k) { return k(k); } alert(f(f));
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.001 |
| IntegrationTest | testIssue284 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testIssue284(IntegrationTest.java:2313)
| 0.003 |
| IntegrationTest | testIssue772 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 14 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 14 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testIssue772(IntegrationTest.java:2333)
| 0.004 |
| IntegrationTest | testSuppressBadGoogRequire | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 2 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 2 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testSuppressBadGoogRequire(IntegrationTest.java:2357)
| 0.004 |
| IntegrationTest | testIssue1204 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testIssue1204(IntegrationTest.java:2372)
| 0.009 |
| IntegrationTest | testCodingConvention | Success | | 0.001 |
| IntegrationTest | testJQueryStringSplitLoops | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testJQueryStringSplitLoops(IntegrationTest.java:2391)
| 0.001 |
| IntegrationTest | testAlwaysRunSafetyCheck | Success | | 0.004 |
| IntegrationTest | testSuppressEs5StrictWarning | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 2 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 2 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testSuppressEs5StrictWarning(IntegrationTest.java:2432)
| 0.002 |
| IntegrationTest | testCheckProvidesWarning | Failure | Unexpected warnings or errors.
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 2 : 0
Warning:JSC_MISSING_PROVIDE. missing goog.provide('f') at i0 line 2 : 9
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 2 : 0 Warning:JSC_MISSING_PROVIDE. missing goog.provide('f') at i0 line 2 : 9 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testCheckProvidesWarning(IntegrationTest.java:2443)
| 0.002 |
| IntegrationTest | testSuppressCheckProvidesWarning | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 3 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 3 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testSuppressCheckProvidesWarning(IntegrationTest.java:2455)
| 0.002 |
| IntegrationTest | testSuppressCastWarning | Failure | Unexpected warnings or errors.
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
Warning:JSC_INVALID_CAST. invalid cast - must be a subtype or supertype
from: number
to : string at i0 line 1 : 47
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 Warning:JSC_INVALID_CAST. invalid cast - must be a subtype or supertype from: number to : string at i0 line 1 : 47 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testSuppressCastWarning(IntegrationTest.java:2467)
| 0.004 |
| IntegrationTest | testLhsCast | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 14 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 14 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testLhsCast(IntegrationTest.java:2484)
| 0.002 |
| IntegrationTest | testRenamePrefix | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testRenamePrefix(IntegrationTest.java:2497)
| 0.003 |
| IntegrationTest | testRenamePrefixNamespace | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRenamePrefixNamespace(IntegrationTest.java:2505)
| 0.002 |
| IntegrationTest | testRenamePrefixNamespaceProtectSideEffects | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: i0]
BLOCK 1 [source_file: i0]
EXPR_RESULT 1 [source_file: i0]
POS 1 [source_file: i0]
GETPROP 1 [source_file: i0]
NAME x 1 [is_constant_name: 1] [source_file: i0]
STRING FOO 1 [is_constant_name: 1] [source_file: i0]
BLOCK 1 [source_file: i0]
CATCH 1 [source_file: i0]
NAME e 1 [is_constant_name: 1] [source_file: i0] [is_constant_var: 1]
BLOCK 1 [source_file: i0]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: i0] BLOCK 1 [source_file: i0] EXPR_RESULT 1 [source_file: i0] POS 1 [source_file: i0] GETPROP 1 [source_file: i0] NAME x 1 [is_constant_name: 1] [source_file: i0] STRING FOO 1 [is_constant_name: 1] [source_file: i0] BLOCK 1 [source_file: i0] CATCH 1 [source_file: i0] NAME e 1 [is_constant_name: 1] [source_file: i0] [is_constant_var: 1] BLOCK 1 [source_file: i0]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.process(AstValidator.java:66) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.optimize(Compiler.java:1978) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:764) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
| 0.002 |
| IntegrationTest | testRenameCollision | Error | Missing catch or finally for try statement.. Reference node:
TRY 5 [source_file: i0]
BLOCK 5 [source_file: i0]
EXPR_RESULT 6 [source_file: i0]
CALL 6 [free_call: 1] [source_file: i0]
COMMA 6 [source_file: i0]
NUMBER 0.0 6 [source_file: i0]
NAME use 6 [source_file: i0]
GETPROP 6 [source_file: i0]
NAME x 6 [is_constant_name: 1] [source_file: i0]
STRING FOO 6 [is_constant_name: 1] [source_file: i0]
BLOCK 7 [source_file: i0]
CATCH 7 [source_file: i0]
NAME e 7 [is_constant_name: 1] [source_file: i0] [is_constant_var: 1]
BLOCK 7 [source_file: i0]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 5 [source_file: i0] BLOCK 5 [source_file: i0] EXPR_RESULT 6 [source_file: i0] CALL 6 [free_call: 1] [source_file: i0] COMMA 6 [source_file: i0] NUMBER 0.0 6 [source_file: i0] NAME use 6 [source_file: i0] GETPROP 6 [source_file: i0] NAME x 6 [is_constant_name: 1] [source_file: i0] STRING FOO 6 [is_constant_name: 1] [source_file: i0] BLOCK 7 [source_file: i0] CATCH 7 [source_file: i0] NAME e 7 [is_constant_name: 1] [source_file: i0] [is_constant_var: 1] BLOCK 7 [source_file: i0]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.process(AstValidator.java:66) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.optimize(Compiler.java:1978) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:764) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
| 0.003 |
| IntegrationTest | testRenamePrefixNamespaceActivatesMoveFunctionDeclarations | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:78) at com.google.javascript.jscomp.IntegrationTestCase.testSame(IntegrationTestCase.java:74) at com.google.javascript.jscomp.IntegrationTest.testRenamePrefixNamespaceActivatesMoveFunctionDeclarations(IntegrationTest.java:2549)
| 0.003 |
| IntegrationTest | testBrokenNameSpace | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testBrokenNameSpace(IntegrationTest.java:2564)
| 0.004 |
| IntegrationTest | testNamelessParameter | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION $load): i0:1:26
var impl_0;$load($init());function $load(){ window['f'] = impl_0;}function $init() { impl_0 = {};}
Parent(SCRIPT): i0:1:0
var impl_0;$load($init());function $load(){ window['f'] = impl_0;}function $init() { impl_0 = {};}
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION $load): i0:1:26 var impl_0;$load($init());function $load(){ window['f'] = impl_0;}function $init() { impl_0 = {};} Parent(SCRIPT): i0:1:0 var impl_0;$load($init());function $load(){ window['f'] = impl_0;}function $init() { impl_0 = {};}
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.001 |
| IntegrationTest | testNegativeZero | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION bar): i0:1:0
function bar(x) { return x; }
Parent(SCRIPT): i0:1:0
function bar(x) { return x; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION bar): i0:1:0 function bar(x) { return x; } Parent(SCRIPT): i0:1:0 function bar(x) { return x; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| IntegrationTest | testSingletonGetter1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): i0:3:26
goog.addSingletonGetter = function(ctor) {
Parent(ASSIGN): i0:3:0
goog.addSingletonGetter = function(ctor) {
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): i0:3:26 goog.addSingletonGetter = function(ctor) { Parent(ASSIGN): i0:3:0 goog.addSingletonGetter = function(ctor) {
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| IntegrationTest | testIncompleteFunction1 | Failure | Unexpected warnings or errors.
Error:JSC_PARSE_ERROR. Parse error. '{' expected at i0 line 1 : 28
Error:JSC_PARSE_ERROR. Parse error. '}' expected at i0 line 1 : 29
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
expected:<2> but was:<3>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Error:JSC_PARSE_ERROR. Parse error. '{' expected at i0 line 1 : 28 Error:JSC_PARSE_ERROR. Parse error. '}' expected at i0 line 1 : 29 Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<2> but was:<3> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:196) at com.google.javascript.jscomp.IntegrationTest.testIncompleteFunction1(IntegrationTest.java:2636)
| 0.001 |
| IntegrationTest | testIncompleteFunction2 | Failure | Unexpected warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.testParseError(IntegrationTestCase.java:174) at com.google.javascript.jscomp.IntegrationTest.testIncompleteFunction2(IntegrationTest.java:2646)
| 0.001 |
| IntegrationTest | testSortingOff | Success | | 0.001 |
| IntegrationTest | testUnboundedArrayLiteralInfiniteLoop | Failure | Unexpected warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.testParseError(IntegrationTestCase.java:174) at com.google.javascript.jscomp.IntegrationTest.testUnboundedArrayLiteralInfiniteLoop(IntegrationTest.java:2664)
| 0.002 |
| IntegrationTest | testProvideRequireSameFile | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testProvideRequireSameFile(IntegrationTest.java:2673)
| 0.002 |
| IntegrationTest | testDependencySorting | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i1 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i1 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTest.testDependencySorting(IntegrationTest.java:2681)
| 0.003 |
| IntegrationTest | testStrictWarningsGuard | Success | | 0.003 |
| IntegrationTest | testStrictWarningsGuardEmergencyMode | Error | Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 24, JSC_TYPE_MISMATCH. inconsistent return type
found : boolean
required: number at i0 line 1 : 46]> has length <1>
java.lang.AssertionError: Not true that <(com.google.javascript.jscomp.JSError[]) [JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 24, JSC_TYPE_MISMATCH. inconsistent return type found : boolean required: number at i0 line 1 : 46]> has length <1> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:230) at com.google.common.truth.AbstractArraySubject.hasLength(AbstractArraySubject.java:60) at com.google.javascript.jscomp.IntegrationTest.testStrictWarningsGuardEmergencyMode(IntegrationTest.java:2717)
| 0.003 |
| IntegrationTest | testInlineProperties | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testInlineProperties(IntegrationTest.java:2734)
| 0.010 |
| IntegrationTest | testGoogDefineClass1 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testGoogDefineClass1(IntegrationTest.java:2753)
| 0.010 |
| IntegrationTest | testGoogDefineClass2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testGoogDefineClass2(IntegrationTest.java:2771)
| 0.011 |
| IntegrationTest | testGoogDefineClass3 | Failure | Unexpected warnings or errors.
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
Warning:JSC_TYPE_MISMATCH. actual parameter 1 of C.prototype.someMethod does not match formal parameter
found : number
required: string at i0 line 9 : 13
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 Warning:JSC_TYPE_MISMATCH. actual parameter 1 of C.prototype.someMethod does not match formal parameter found : number required: string at i0 line 9 : 13 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testGoogDefineClass3(IntegrationTest.java:2796)
| 0.014 |
| IntegrationTest | testGoogDefineClass4 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testGoogDefineClass4(IntegrationTest.java:2813)
| 0.009 |
| IntegrationTest | testCheckConstants1 | Success | | 0.006 |
| IntegrationTest | testCheckConstants2 | Failure | Unexpected warnings or errors.
Error:JSC_CONSTANT_REASSIGNED_VALUE_ERROR. constant x assigned a value more than once.
Original definition at i0:3 at i0 line 3 : 18
Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0
expected:<1> but was:<2>
junit.framework.AssertionFailedError: Unexpected warnings or errors. Original definition at i0:3 at i0 line 3 : 18 Warning:JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<1> but was:<2> at com.google.javascript.jscomp.IntegrationTestCase.checkUnexpectedErrorsOrWarnings(IntegrationTestCase.java:219) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:137) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:127) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:116) at com.google.javascript.jscomp.IntegrationTest.testCheckConstants2(IntegrationTest.java:2841)
| 0.002 |
| IntegrationTest | testIssue937 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testIssue937(IntegrationTest.java:2856)
| 0.003 |
| IntegrationTest | testES5toES6 | Success | | 0.002 |
| IntegrationTest | testIssue787 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testIssue787(IntegrationTest.java:2915)
| 0.007 |
| IntegrationTest | testClosureDefines | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testClosureDefines(IntegrationTest.java:2944)
| 0.004 |
| IntegrationTest | testClosureDefinesDuplicates2 | Failure | Expected no warnings or errors
Errors:
Warnings:
JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected no warnings or errors Errors: Warnings: JSC_UNREACHABLE_CODE. unreachable code at i0 line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:97) at com.google.javascript.jscomp.IntegrationTestCase.test(IntegrationTestCase.java:87) at com.google.javascript.jscomp.IntegrationTest.testClosureDefinesDuplicates2(IntegrationTest.java:2972)
| 0.003 |
| IntegrationTest | testRmUnusedProtoPropsInExternsUsage | Success | | 0.001 |
| IntegrationTest | testMaxFunSizeAfterInliningUsage | Success | | 0.000 |
| IntegrationTest | testIsEquivalentTo | Success | | 0.001 |
| JSCompilerSourceExcerptProviderTest | testExcerptLineFromInexistentSource | Success | | 0.000 |
| JSCompilerSourceExcerptProviderTest | testExceptNoNewLine | Success | | 0.000 |
| JSCompilerSourceExcerptProviderTest | testExcerptOneLine | Success | | 0.000 |
| JSCompilerSourceExcerptProviderTest | testExcerptInexistentLine | Success | | 0.000 |
| JSCompilerSourceExcerptProviderTest | testExcerptRegion | Success | | 0.001 |
| JSCompilerSourceExcerptProviderTest | testExcerptRegionFromInexistentSource | Success | | 0.000 |
| JSCompilerSourceExcerptProviderTest | testExcerptInexistentRegion | Success | | 0.000 |
| JSDocInfoPrinterTest | testBasic | Success | | 0.000 |
| JSDocInfoPrinterTest | testTemplate | Success | | 0.000 |
| JSDocInfoPrinterTest | testParam | Success | | 0.001 |
| JSDocInfoPrinterTest | testTypes | Success | | 0.000 |
| JSModuleGraphTest | testModuleDepth | Success | | 0.001 |
| JSModuleGraphTest | testDeepestCommonDep | Success | | 0.000 |
| JSModuleGraphTest | testDeepestCommonDepInclusive | Success | | 0.001 |
| JSModuleGraphTest | testGetTransitiveDepsDeepestFirst | Success | | 0.000 |
| JSModuleGraphTest | testCoalesceDuplicateFiles | Success | | 0.001 |
| JSModuleGraphTest | testManageDependencies1 | Success | | 0.002 |
| JSModuleGraphTest | testManageDependencies2 | Success | | 0.002 |
| JSModuleGraphTest | testManageDependencies3 | Success | | 0.002 |
| JSModuleGraphTest | testManageDependencies4 | Success | | 0.002 |
| JSModuleGraphTest | testManageDependencies5 | Success | | 0.001 |
| JSModuleGraphTest | testNoFiles | Success | | 0.000 |
| JSModuleGraphTest | testToJson | Success | | 0.000 |
| JSModuleTest | testSortInputs | Success | | 0.003 |
| JSModuleTest | testDependencies | Success | | 0.001 |
| JSModuleTest | testSortJsModules | Success | | 0.000 |
| JsMessageExtractorTest | testSyntaxError1 | Success | | 0.002 |
| JsMessageExtractorTest | testSyntaxError2 | Success | | 0.000 |
| JsMessageExtractorTest | testExtractNewStyleMessage1 | Success | | 0.003 |
| JsMessageExtractorTest | testExtractNewStyleMessage2 | Success | | 0.002 |
| JsMessageExtractorTest | testExtractOldStyleMessage1 | Success | | 0.001 |
| JsMessageExtractorTest | testExtractOldStyleMessage2 | Success | | 0.000 |
| JsMessageExtractorTest | testExtractOldStyleMessage3 | Success | | 0.000 |
| JsMessageExtractorTest | testExtractMixedMessages | Success | | 0.001 |
| JsMessageExtractorTest | testDuplicateUnnamedVariables | Success | | 0.002 |
| JsMessageExtractorTest | testMeaningAnnotation | Success | | 0.001 |
| JsMessageTest | testIsEmpty | Success | | 0.001 |
| JsMessageTest | testMeaningChangesId | Success | | 0.000 |
| JsMessageTest | testHashValues | Success | | 0.000 |
| JsMessageVisitorTest | testJsMessagesWithSrcMap | Success | | 0.002 |
| JsMessageVisitorTest | testJsMessageOnVar | Success | | 0.000 |
| JsMessageVisitorTest | testJsMessageOnProperty | Success | | 0.000 |
| JsMessageVisitorTest | testJsMessageOnObjLit | Success | | 0.000 |
| JsMessageVisitorTest | testOrphanedJsMessage | Success | | 0.000 |
| JsMessageVisitorTest | testMessageWithoutDescription | Success | | 0.001 |
| JsMessageVisitorTest | testIncorrectMessageReporting | Success | | 0.001 |
| JsMessageVisitorTest | testEmptyMessage | Success | | 0.000 |
| JsMessageVisitorTest | testConcatOfStrings | Success | | 0.000 |
| JsMessageVisitorTest | testLegacyFormatDescription | Success | | 0.001 |
| JsMessageVisitorTest | testLegacyFormatParametizedFunction | Success | | 0.000 |
| JsMessageVisitorTest | testLegacyMessageWithDescAnnotation | Success | | 0.000 |
| JsMessageVisitorTest | testLegacyMessageWithDescAnnotationAndHelpVar | Success | | 0.001 |
| JsMessageVisitorTest | testClosureMessageWithHelpPostfix | Success | | 0.000 |
| JsMessageVisitorTest | testClosureMessageWithoutGoogGetmsg | Success | | 0.001 |
| JsMessageVisitorTest | testClosureFormatParametizedFunction | Success | | 0.001 |
| JsMessageVisitorTest | testHugeMessage | Success | | 0.001 |
| JsMessageVisitorTest | testUnnamedGoogleMessage | Success | | 0.001 |
| JsMessageVisitorTest | testEmptyTextMessage | Success | | 0.001 |
| JsMessageVisitorTest | testEmptyTextComplexMessage | Success | | 0.000 |
| JsMessageVisitorTest | testMessageIsNoUnnamed | Success | | 0.001 |
| JsMessageVisitorTest | testMsgVarWithoutAssignment | Success | | 0.000 |
| JsMessageVisitorTest | testRegularVarWithoutAssignment | Success | | 0.000 |
| JsMessageVisitorTest | testMsgVarWithIncorrectRightSide | Success | | 0.000 |
| JsMessageVisitorTest | testIncorrectMessage | Success | | 0.000 |
| JsMessageVisitorTest | testUnrecognizedFunction | Success | | 0.000 |
| JsMessageVisitorTest | testExtractPropertyMessage | Success | | 0.001 |
| JsMessageVisitorTest | testAlmostButNotExternalMessage | Success | | 0.001 |
| JsMessageVisitorTest | testExternalMessage | Success | | 0.000 |
| JsMessageVisitorTest | testIsValidMessageNameStrict | Success | | 0.000 |
| JsMessageVisitorTest | testIsValidMessageNameRelax | Success | | 0.000 |
| JsMessageVisitorTest | testIsValidMessageNameLegacy | Success | | 0.001 |
| JsMessageVisitorTest | testUnexistedPlaceholders | Success | | 0.000 |
| JsMessageVisitorTest | testUnusedReferenesAreNotOK | Success | | 0.001 |
| JsMessageVisitorTest | testDuplicatePlaceHoldersAreBad | Success | | 0.000 |
| JsMessageVisitorTest | testDuplicatePlaceholderReferencesAreOk | Success | | 0.000 |
| JsMessageVisitorTest | testCamelcasePlaceholderNamesAreOk | Success | | 0.001 |
| JsMessageVisitorTest | testWithNonCamelcasePlaceholderNamesAreNotOk | Success | | 0.001 |
| JsMessageVisitorTest | testUnquotedPlaceholdersAreOk | Success | | 0.000 |
| JsMessageVisitorTest | testIsLowerCamelCaseWithNumericSuffixes | Success | | 0.000 |
| JsMessageVisitorTest | testToLowerCamelCaseWithNumericSuffixes | Success | | 0.003 |
| JsMessageVisitorTest | testDuplicateMessageError | Success | | 0.000 |
| JsMessageVisitorTest | testNoDuplicateErrorOnExternMessage | Success | | 0.001 |
| JsMessageVisitorTest | testUsingMsgPrefixWithFallback | Success | | 0.001 |
| JsMessageVisitorTest | testErrorWhenUsingMsgPrefixWithFallback | Success | | 0.000 |
| LightweightMessageFormatterTest | testNull | Success | | 0.000 |
| LightweightMessageFormatterTest | testOneLineRegion | Success | | 0.000 |
| LightweightMessageFormatterTest | testTwoLineRegion | Success | | 0.000 |
| LightweightMessageFormatterTest | testThreeLineRegionAcrossNumberRange | Success | | 0.000 |
| LightweightMessageFormatterTest | testThreeLineRegionEmptyLine | Success | | 0.000 |
| LightweightMessageFormatterTest | testOnlyOneEmptyLine | Success | | 0.000 |
| LightweightMessageFormatterTest | testTwoEmptyLines | Success | | 0.000 |
| LightweightMessageFormatterTest | testThreeLineRemoveLastEmptyLine | Success | | 0.000 |
| LightweightMessageFormatterTest | testFormatErrorSpaces | Success | | 0.001 |
| LightweightMessageFormatterTest | testFormatErrorTabs | Success | | 0.000 |
| LightweightMessageFormatterTest | testFormatErrorSpaceEndOfLine1 | Success | | 0.000 |
| LightweightMessageFormatterTest | testFormatErrorSpaceEndOfLine2 | Success | | 0.000 |
| LightweightMessageFormatterTest | testFormatErrorOriginalSource | Success | | 0.000 |
| LinkedFlowScopeTest | testOptimize | Success | | 0.001 |
| LinkedFlowScopeTest | testJoin1 | Success | | 0.000 |
| LinkedFlowScopeTest | testJoin2 | Success | | 0.001 |
| LinkedFlowScopeTest | testJoin3 | Success | | 0.001 |
| LinkedFlowScopeTest | testLongChain1 | Success | | 0.045 |
| LinkedFlowScopeTest | testLongChain2 | Success | | 0.182 |
| LinkedFlowScopeTest | testLongChain3 | Success | | 0.063 |
| LinkedFlowScopeTest | testFindUniqueSlot | Success | | 0.000 |
| LinkedFlowScopeTest | testDiffer1 | Success | | 0.000 |
| LinkedFlowScopeTest | testDiffer2 | Success | | 0.000 |
| LiveVariableAnalysisTest | testEscaped | Success | | 0.002 |
| LiveVariableAnalysisTest | testAssignAndReadInCondition | Success | | 0.001 |
| LiveVariableAnalysisTest | testInnerFunctions | Success | | 0.001 |
| LiveVariableAnalysisTest | testParam | Success | | 0.001 |
| LiveVariableAnalysisTest | testStraightLine | Success | | 0.006 |
| LiveVariableAnalysisTest | testProperties | Success | | 0.002 |
| LiveVariableAnalysisTest | testConditions | Success | | 0.005 |
| LiveVariableAnalysisTest | testArrays | Success | | 0.002 |
| LiveVariableAnalysisTest | testTwoPaths | Success | | 0.004 |
| LiveVariableAnalysisTest | testThreePaths | Success | | 0.002 |
| LiveVariableAnalysisTest | testHooks | Success | | 0.001 |
| LiveVariableAnalysisTest | testForLoops | Success | | 0.004 |
| LiveVariableAnalysisTest | testNestedLoops | Success | | 0.003 |
| LiveVariableAnalysisTest | testSwitches | Success | | 0.001 |
| LiveVariableAnalysisTest | testExpressionInForIn | Success | | 0.000 |
| LiveVariableAnalysisTest | testArgumentsArray | Success | | 0.002 |
| LiveVariableAnalysisTest | testTryCatchFinally | Success | | 0.001 |
| LiveVariableAnalysisTest | testForInAssignment | Success | | 0.001 |
| LiveVariableAnalysisTest | testExceptionThrowingAssignments | Success | | 0.001 |
| LiveVariableAnalysisTest | testEscapedLiveness | Success | | 0.001 |
| LiveVariableAnalysisTest | testBug1449316 | Success | | 0.001 |
| MakeDeclaredNamesUniqueTest | testArguments | Success | | 0.003 |
| MakeDeclaredNamesUniqueTest | testMakeLocalNamesUniqueWithContext1 | Success | | 0.001 |
| MakeDeclaredNamesUniqueTest | testMakeLocalNamesUniqueWithContext2 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME e 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.MakeDeclaredNamesUniqueTest.testWithInversion(MakeDeclaredNamesUniqueTest.java:69) at com.google.javascript.jscomp.MakeDeclaredNamesUniqueTest.testMakeLocalNamesUniqueWithContext2(MakeDeclaredNamesUniqueTest.java:137)
| 0.007 |
| MakeDeclaredNamesUniqueTest | testMakeLocalNamesUniqueWithContext3 | Success | | 0.002 |
| MakeDeclaredNamesUniqueTest | testMakeLocalNamesUniqueWithContext4 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME e 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.MakeDeclaredNamesUniqueTest.testInFunction(MakeDeclaredNamesUniqueTest.java:92) at com.google.javascript.jscomp.MakeDeclaredNamesUniqueTest.testMakeLocalNamesUniqueWithContext4(MakeDeclaredNamesUniqueTest.java:170)
| 0.000 |
| MakeDeclaredNamesUniqueTest | testMakeLocalNamesUniqueWithContext5 | Success | | 0.006 |
| MakeDeclaredNamesUniqueTest | testMakeLocalNamesUniqueWithoutContext | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME e 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.MakeDeclaredNamesUniqueTest.testMakeLocalNamesUniqueWithoutContext(MakeDeclaredNamesUniqueTest.java:267)
| 0.004 |
| MakeDeclaredNamesUniqueTest | testMakeLocalNamesUniqueWithoutContext2 | Success | | 0.002 |
| MakeDeclaredNamesUniqueTest | testOnlyInversion | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME e 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.MakeDeclaredNamesUniqueTest.testOnlyInversion(MakeDeclaredNamesUniqueTest.java:298)
| 0.003 |
| MakeDeclaredNamesUniqueTest | testOnlyInversion2 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME e 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.MakeDeclaredNamesUniqueTest.testOnlyInversion2(MakeDeclaredNamesUniqueTest.java:310)
| 0.001 |
| MakeDeclaredNamesUniqueTest | testOnlyInversion3 | Success | | 0.000 |
| MakeDeclaredNamesUniqueTest | testOnlyInversion4 | Success | | 0.001 |
| MakeDeclaredNamesUniqueTest | testConstRemovingRename1 | Success | | 0.001 |
| MakeDeclaredNamesUniqueTest | testConstRemovingRename2 | Success | | 0.000 |
| MarkNoSideEffectCallsTest | testFunctionAnnotation | Success | | 0.009 |
| MarkNoSideEffectCallsTest | testNamespaceAnnotation | Success | | 0.002 |
| MarkNoSideEffectCallsTest | testConstructorAnnotation | Success | | 0.004 |
| MarkNoSideEffectCallsTest | testMultipleDefinition | Success | | 0.003 |
| MarkNoSideEffectCallsTest | testAssignNoFunction | Success | | 0.002 |
| MarkNoSideEffectCallsTest | testPrototype | Success | | 0.006 |
| MarkNoSideEffectCallsTest | testAnnotationInExterns | Success | | 0.003 |
| MarkNoSideEffectCallsTest | testNamespaceAnnotationInExterns | Success | | 0.003 |
| MarkNoSideEffectCallsTest | testOverrideDefinitionInSource | Success | | 0.003 |
| MarkNoSideEffectCallsTest | testApply1 | Success | | 0.001 |
| MarkNoSideEffectCallsTest | testApply2 | Success | | 0.001 |
| MarkNoSideEffectCallsTest | testCall1 | Success | | 0.001 |
| MarkNoSideEffectCallsTest | testCall2 | Success | | 0.002 |
| MarkNoSideEffectCallsTest | testInvalidAnnotation1 | Success | | 0.001 |
| MarkNoSideEffectCallsTest | testInvalidAnnotation2 | Success | | 0.000 |
| MarkNoSideEffectCallsTest | testInvalidAnnotation3 | Success | | 0.000 |
| MarkNoSideEffectCallsTest | testInvalidAnnotation4 | Success | | 0.001 |
| MarkNoSideEffectCallsTest | testInvalidAnnotation5 | Success | | 0.001 |
| MarkNoSideEffectCallsTest | testCallNumber | Success | | 0.002 |
| MaybeReachingVariableUseTest | testHook | Success | | 0.002 |
| MaybeReachingVariableUseTest | testLoops | Success | | 0.006 |
| MaybeReachingVariableUseTest | testTryCatch | Success | | 0.001 |
| MaybeReachingVariableUseTest | testForIn | Success | | 0.002 |
| MaybeReachingVariableUseTest | testStraightLine | Success | | 0.002 |
| MaybeReachingVariableUseTest | testConditional | Success | | 0.003 |
| MaybeReachingVariableUseTest | testUseAndDefInSameInstruction | Success | | 0.001 |
| MaybeReachingVariableUseTest | testAssignmentInExpressions | Success | | 0.001 |
| MaybeReachingVariableUseTest | testAssignmentOps | Success | | 0.001 |
| MaybeReachingVariableUseTest | testInc | Success | | 0.000 |
| MaybeReachingVariableUseTest | testIf | Success | | 0.001 |
| MemoizedScopeCreatorTest | testMemoization | Success | | 0.000 |
| MemoizedScopeCreatorTest | testPreconditionCheck | Success | | 0.000 |
| MinimizeExitPointsTest | testFunctionReturnOptimization | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NUMBER 9.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NUMBER 9.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.MinimizeExitPointsTest.fold(MinimizeExitPointsTest.java:51) at com.google.javascript.jscomp.MinimizeExitPointsTest.testFunctionReturnOptimization(MinimizeExitPointsTest.java:119)
| 0.015 |
| MinimizeExitPointsTest | testBreakOptimization | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME f 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME f 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME f 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME f 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateLabel(AstValidator.java:517) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:98) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.MinimizeExitPointsTest.fold(MinimizeExitPointsTest.java:51) at com.google.javascript.jscomp.MinimizeExitPointsTest.testBreakOptimization(MinimizeExitPointsTest.java:76)
| 0.008 |
| MinimizeExitPointsTest | testWhileContinueOptimization | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CONTINUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CONTINUE 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CONTINUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CONTINUE 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateWhile(AstValidator.java:809) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:116) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.MinimizeExitPointsTest.fold(MinimizeExitPointsTest.java:51) at com.google.javascript.jscomp.MinimizeExitPointsTest.testWhileContinueOptimization(MinimizeExitPointsTest.java:165)
| 0.007 |
| MinimizeExitPointsTest | testDoContinueOptimization | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CONTINUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CONTINUE 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CONTINUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CONTINUE 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateDo(AstValidator.java:815) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:119) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.MinimizeExitPointsTest.fold(MinimizeExitPointsTest.java:51) at com.google.javascript.jscomp.MinimizeExitPointsTest.testDoContinueOptimization(MinimizeExitPointsTest.java:207)
| 0.009 |
| MinimizeExitPointsTest | testForContinueOptimization | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CONTINUE 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CONTINUE 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CONTINUE 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CONTINUE 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFor(AstValidator.java:769) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:110) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.MinimizeExitPointsTest.fold(MinimizeExitPointsTest.java:51) at com.google.javascript.jscomp.MinimizeExitPointsTest.testForContinueOptimization(MinimizeExitPointsTest.java:253)
| 0.008 |
| MinimizeExitPointsTest | testCodeMotionDoesntBreakFunctionHoisting | Success | | 0.001 |
| MinimizeExitPointsTest | testDontRemoveBreakInTryFinally | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NUMBER 9.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME b 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NUMBER 9.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME b 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateLabel(AstValidator.java:517) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:98) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.MinimizeExitPointsTest.foldSame(MinimizeExitPointsTest.java:47) at com.google.javascript.jscomp.MinimizeExitPointsTest.testDontRemoveBreakInTryFinally(MinimizeExitPointsTest.java:272)
| 0.001 |
| MinimizeExitPointsTest | testDontFoldBreakInDoWhileIfConditionHasSideEffects | Success | | 0.000 |
| MinimizedConditionTest | testTryMinimizeCondSimple | Success | | 0.002 |
| MinimizedConditionTest | testMinimizeDemorganSimple | Success | | 0.004 |
| MinimizedConditionTest | testMinimizeBug8494751 | Success | | 0.000 |
| MinimizedConditionTest | testMinimizeComplementableOperator | Success | | 0.000 |
| MinimizedConditionTest | testMinimizeHook | Success | | 0.001 |
| MinimizedConditionTest | testMinimizeComma | Success | | 0.001 |
| MoveFunctionDeclarationsTest | testFunctionDeclarations | Success | | 0.002 |
| MoveFunctionDeclarationsTest | testFunctionDeclarationsInModule | Success | | 0.000 |
| MoveFunctionDeclarationsTest | testFunctionsExpression | Success | | 0.001 |
| MoveFunctionDeclarationsTest | testNoMoveDeepFunctionDeclarations | Success | | 0.001 |
| MultiPassTest | testInlineVarsAndPeephole | Success | | 0.004 |
| MultiPassTest | testInlineFunctionsAndPeephole | Success | | 0.003 |
| MultiPassTest | testInlineVarsAndDeadCodeElim | Success | | 0.003 |
| MultiPassTest | testCollapseObjectLiteralsScopeChange | Success | | 0.002 |
| MultiPassTest | testRemoveUnusedClassPropertiesScopeChange | Success | | 0.002 |
| MultiPassTest | testRemoveUnusedVariablesScopeChange | Success | | 0.003 |
| MultiPassTest | testTopScopeChange | Failure |
Expected: var z=2
Result:
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1] [change_time: 11]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 2.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
junit.framework.AssertionFailedError: Expected: var z=2 Result: Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 2.0 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] [change_time: 11] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] NUMBER 2.0 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.MultiPassTest.testTopScopeChange(MultiPassTest.java:121)
| 0.001 |
| MultiPassTest | testTwoOptimLoopsNoCrash | Success | | 0.003 |
| MustBeReachingVariableDefTest | testHook | Success | | 0.002 |
| MustBeReachingVariableDefTest | testLoops | Success | | 0.001 |
| MustBeReachingVariableDefTest | testAssignmentOp | Success | | 0.001 |
| MustBeReachingVariableDefTest | testMergeDefinitions | Success | | 0.000 |
| MustBeReachingVariableDefTest | testExpressionVariableReassignment | Success | | 0.002 |
| MustBeReachingVariableDefTest | testMergesWithOneDefinition | Success | | 0.001 |
| MustBeReachingVariableDefTest | testRedefinitionUsingItself | Success | | 0.001 |
| MustBeReachingVariableDefTest | testMultipleDefinitionsWithDependence | Success | | 0.001 |
| MustBeReachingVariableDefTest | testExterns | Success | | 0.000 |
| MustBeReachingVariableDefTest | testIncAndDec | Success | | 0.000 |
| MustBeReachingVariableDefTest | testFunctionParams1 | Success | | 0.001 |
| MustBeReachingVariableDefTest | testFunctionParams2 | Success | | 0.000 |
| MustBeReachingVariableDefTest | testArgumentsObjectModifications | Success | | 0.000 |
| MustBeReachingVariableDefTest | testArgumentsObjectEscaped | Success | | 0.001 |
| MustBeReachingVariableDefTest | testArgumentsObjectEscapedDependents | Success | | 0.000 |
| MustBeReachingVariableDefTest | testStraightLine | Success | | 0.002 |
| MustBeReachingVariableDefTest | testConditional | Success | | 0.001 |
| MustBeReachingVariableDefTest | testUseAndDefInSameInstruction | Success | | 0.001 |
| MustBeReachingVariableDefTest | testAssignmentInExpressions | Success | | 0.001 |
| MustBeReachingVariableDefTest | testIf | Success | | 0.002 |
| NameAnalyzerTest | testFor | Success | | 0.003 |
| NameAnalyzerTest | testRemoveDeclaration1 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveDeclaration2 | Success | | 0.001 |
| NameAnalyzerTest | testAnonymous1 | Success | | 0.001 |
| NameAnalyzerTest | testAnonymous2 | Success | | 0.001 |
| NameAnalyzerTest | testAnonymous3 | Success | | 0.001 |
| NameAnalyzerTest | testIssue284 | Success | | 0.001 |
| NameAnalyzerTest | testSingletonGetter1 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveDeclaration6 | Success | | 0.002 |
| NameAnalyzerTest | testRemoveDeclaration7 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveFunction2 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveFunction3 | Success | | 0.000 |
| NameAnalyzerTest | testRemoveFunction4 | Success | | 0.000 |
| NameAnalyzerTest | testReferredToByWindow | Success | | 0.001 |
| NameAnalyzerTest | testExtern | Success | | 0.000 |
| NameAnalyzerTest | testRemoveNamedFunction | Success | | 0.001 |
| NameAnalyzerTest | testRemoveRecursiveFunction1 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveRecursiveFunction2 | Success | | 0.002 |
| NameAnalyzerTest | testRemoveRecursiveFunction2a | Success | | 0.001 |
| NameAnalyzerTest | testRemoveRecursiveFunction3 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveRecursiveFunction4 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveRecursiveFunction5 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveRecursiveFunction6 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveRecursiveFunction7 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveFunction1 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveVarDeclaration1 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveVarDeclaration2 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveVarDeclaration3 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveVarDeclaration4 | Success | | 0.002 |
| NameAnalyzerTest | testRemoveVarDeclaration5 | Success | | 0.002 |
| NameAnalyzerTest | testRemoveVarDeclaration6 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveVarDeclaration7 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveVarDeclaration8 | Success | | 0.002 |
| NameAnalyzerTest | testRemoveDeclaration3 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveDeclaration4 | Success | | 0.002 |
| NameAnalyzerTest | testRemoveDeclaration5 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveRecursiveFunction8 | Success | | 0.002 |
| NameAnalyzerTest | testRemoveRecursiveFunction9 | Success | | 0.001 |
| NameAnalyzerTest | testSideEffectClassification1 | Success | | 0.001 |
| NameAnalyzerTest | testSideEffectClassification2 | Success | | 0.001 |
| NameAnalyzerTest | testSideEffectClassification3 | Success | | 0.001 |
| NameAnalyzerTest | testSideEffectClassification4 | Success | | 0.001 |
| NameAnalyzerTest | testSideEffectClassification5 | Success | | 0.001 |
| NameAnalyzerTest | testSideEffectClassification6 | Success | | 0.001 |
| NameAnalyzerTest | testSideEffectClassification7 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation1 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation2 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation3 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation4 | Success | | 0.000 |
| NameAnalyzerTest | testNoSideEffectAnnotation5 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation6 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation7 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation8 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation9 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation10 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation11 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation12 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation13 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation14 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation15 | Success | | 0.001 |
| NameAnalyzerTest | testNoSideEffectAnnotation16 | Success | | 0.001 |
| NameAnalyzerTest | testFunctionPrototype | Success | | 0.000 |
| NameAnalyzerTest | testTopLevelClass1 | Success | | 0.000 |
| NameAnalyzerTest | testTopLevelClass2 | Success | | 0.001 |
| NameAnalyzerTest | testTopLevelClass3 | Success | | 0.000 |
| NameAnalyzerTest | testTopLevelClass4 | Success | | 0.001 |
| NameAnalyzerTest | testTopLevelClass5 | Success | | 0.002 |
| NameAnalyzerTest | testTopLevelClass6 | Success | | 0.001 |
| NameAnalyzerTest | testTopLevelClass7 | Success | | 0.001 |
| NameAnalyzerTest | testNamespacedClass1 | Success | | 0.001 |
| NameAnalyzerTest | testNamespacedClass2 | Success | | 0.002 |
| NameAnalyzerTest | testNamespacedClass3 | Success | | 0.002 |
| NameAnalyzerTest | testNamespacedClass4 | Success | | 0.002 |
| NameAnalyzerTest | testNamespacedClass5 | Success | | 0.001 |
| NameAnalyzerTest | testAssignmentToThisPrototype | Success | | 0.001 |
| NameAnalyzerTest | testAssignmentToCallResultPrototype | Success | | 0.001 |
| NameAnalyzerTest | testAssignmentToExternPrototype | Success | | 0.001 |
| NameAnalyzerTest | testAssignmentToUnknownPrototype | Success | | 0.000 |
| NameAnalyzerTest | testBug2099540 | Success | | 0.000 |
| NameAnalyzerTest | testOtherGlobal | Success | | 0.000 |
| NameAnalyzerTest | testExternName1 | Success | | 0.001 |
| NameAnalyzerTest | testExternName2 | Success | | 0.001 |
| NameAnalyzerTest | testInherits1 | Success | | 0.001 |
| NameAnalyzerTest | testInherits2 | Success | | 0.001 |
| NameAnalyzerTest | testInherits3 | Success | | 0.001 |
| NameAnalyzerTest | testInherits4 | Failure |
Expected: var a={};this.b={};var goog={};goog.inherits(b,a)
Result: this.b={}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING b 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING inherits 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING b 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING b 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING inherits 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING b 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var a={};this.b={};var goog={};goog.inherits(b,a) Result: this.b={} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING b 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING inherits 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING b 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING b 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING inherits 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING b 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.NameAnalyzerTest.testInherits4(NameAnalyzerTest.java:421)
| 0.001 |
| NameAnalyzerTest | testInherits5 | Success | | 0.000 |
| NameAnalyzerTest | testInherits6 | Success | | 0.001 |
| NameAnalyzerTest | testInherits7 | Failure |
Expected: var a={};this.b={};var goog={};goog.inherits=function(){};goog.inherits(b,a)
Result: this.b={}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING b 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING inherits 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING inherits 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING b 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING b 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING inherits 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING inherits 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING b 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var a={};this.b={};var goog={};goog.inherits=function(){};goog.inherits(b,a) Result: this.b={} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING b 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING inherits 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING inherits 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING b 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING b 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING inherits 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING inherits 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING b 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.NameAnalyzerTest.testInherits7(NameAnalyzerTest.java:435)
| 0.002 |
| NameAnalyzerTest | testInherits8 | Success | | 0.001 |
| NameAnalyzerTest | testMixin1 | Success | | 0.001 |
| NameAnalyzerTest | testMixin2 | Failure |
Expected: var a={};this.b={};var goog={};goog.mixin=function(){};goog.mixin(b.prototype,a.prototype)
Result: this.b={}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING b 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING b 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING b 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING b 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var a={};this.b={};var goog={};goog.mixin=function(){};goog.mixin(b.prototype,a.prototype) Result: this.b={} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING b 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING b 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING b 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING b 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.NameAnalyzerTest.testMixin2(NameAnalyzerTest.java:453)
| 0.001 |
| NameAnalyzerTest | testMixin3 | Success | | 0.001 |
| NameAnalyzerTest | testMixin4 | Failure |
Expected: this.a={};var b={};var goog={};goog.mixin=function(){};goog.mixin(b.prototype,a.prototype);new b
Result: this.a={};var b={};new b
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING a 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING a 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING a 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING a 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
junit.framework.AssertionFailedError: Expected: this.a={};var b={};var goog={};goog.mixin=function(){};goog.mixin(b.prototype,a.prototype);new b Result: this.a={};var b={};new b Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING a 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING a 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] OBJECTLIT 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING a 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING a 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] OBJECTLIT 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.NameAnalyzerTest.testMixin4(NameAnalyzerTest.java:464)
| 0.001 |
| NameAnalyzerTest | testMixin5 | Failure |
Expected: this.a={};var b={};var goog={};goog.mixin=function(){};goog.mixin(b.prototype,a.prototype);new b
Result: this.a={};var b={};new b
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING a 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING a 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING a 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING a 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
junit.framework.AssertionFailedError: Expected: this.a={};var b={};var goog={};goog.mixin=function(){};goog.mixin(b.prototype,a.prototype);new b Result: this.a={};var b={};new b Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING a 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING a 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] OBJECTLIT 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING a 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING a 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] OBJECTLIT 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.NameAnalyzerTest.testMixin5(NameAnalyzerTest.java:471)
| 0.001 |
| NameAnalyzerTest | testMixin6 | Success | | 0.002 |
| NameAnalyzerTest | testMixin7 | Failure |
Expected: this.a={};var b={};var goog={};goog.mixin=function(){};goog.mixin(b.prototype,a.prototype);new b
Result: this.a={};var b={};new b
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING a 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING a 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING a 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [is_constant_name: 1] [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING mixin 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
STRING prototype 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING a 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME b 1 [is_constant_name: 1] [source_file: testcode]
junit.framework.AssertionFailedError: Expected: this.a={};var b={};var goog={};goog.mixin=function(){};goog.mixin(b.prototype,a.prototype);new b Result: this.a={};var b={};new b Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING a 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING a 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] OBJECTLIT 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING a 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [is_constant_name: 1] [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING mixin 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] STRING prototype 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME b 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING a 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode] OBJECTLIT 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME b 1 [is_constant_name: 1] [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.NameAnalyzerTest.testMixin7(NameAnalyzerTest.java:491)
| 0.001 |
| NameAnalyzerTest | testConstants1 | Success | | 0.001 |
| NameAnalyzerTest | testConstants2 | Success | | 0.001 |
| NameAnalyzerTest | testExpressions1 | Success | | 0.001 |
| NameAnalyzerTest | testExpressions2 | Success | | 0.001 |
| NameAnalyzerTest | testExpressions3 | Success | | 0.001 |
| NameAnalyzerTest | testSetCreatingReference | Success | | 0.001 |
| NameAnalyzerTest | testAnonymous4 | Success | | 0.001 |
| NameAnalyzerTest | testAnonymous5 | Success | | 0.002 |
| NameAnalyzerTest | testAnonymous6 | Success | | 0.001 |
| NameAnalyzerTest | testAnonymous7 | Success | | 0.001 |
| NameAnalyzerTest | testAnonymous8 | Success | | 0.001 |
| NameAnalyzerTest | testAnonymous9 | Success | | 0.001 |
| NameAnalyzerTest | testFunctions1 | Success | | 0.001 |
| NameAnalyzerTest | testFunctions2 | Success | | 0.001 |
| NameAnalyzerTest | testGetElem1 | Success | | 0.001 |
| NameAnalyzerTest | testGetElem2 | Success | | 0.002 |
| NameAnalyzerTest | testGetElem3 | Success | | 0.001 |
| NameAnalyzerTest | testIf1 | Success | | 0.001 |
| NameAnalyzerTest | testIf2 | Success | | 0.001 |
| NameAnalyzerTest | testIf3 | Success | | 0.001 |
| NameAnalyzerTest | testIf4 | Success | | 0.002 |
| NameAnalyzerTest | testIf4a | Success | | 0.001 |
| NameAnalyzerTest | testIf4b | Success | | 0.001 |
| NameAnalyzerTest | testIf4c | Success | | 0.001 |
| NameAnalyzerTest | testIf5 | Success | | 0.001 |
| NameAnalyzerTest | testIfElse | Success | | 0.001 |
| NameAnalyzerTest | testWhile | Success | | 0.001 |
| NameAnalyzerTest | testDo | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct1 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct2 | Success | | 0.000 |
| NameAnalyzerTest | testSetterInForStruct3 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct4 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct5 | Success | | 0.000 |
| NameAnalyzerTest | testSetterInForStruct6 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct7 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct8 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct9 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct10 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct11 | Success | | 0.000 |
| NameAnalyzerTest | testSetterInForStruct12 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct13 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct14 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct15 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForStruct16 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForIn1 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForIn2 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForIn3 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForIn4 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForIn5 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInForIn6 | Success | | 0.001 |
| NameAnalyzerTest | testSetterInIfPredicate | Success | | 0.001 |
| NameAnalyzerTest | testSetterInWhilePredicate | Success | | 0.001 |
| NameAnalyzerTest | testSetterInDoWhilePredicate | Success | | 0.001 |
| NameAnalyzerTest | testSetterInSwitchInput | Success | | 0.001 |
| NameAnalyzerTest | testComplexAssigns | Success | | 0.001 |
| NameAnalyzerTest | testNestedAssigns1 | Success | | 0.001 |
| NameAnalyzerTest | testNestedAssigns2 | Success | | 0.001 |
| NameAnalyzerTest | testComplexNestedAssigns1 | Success | | 0.001 |
| NameAnalyzerTest | testComplexNestedAssigns2 | Success | | 0.001 |
| NameAnalyzerTest | testComplexNestedAssigns3 | Success | | 0.001 |
| NameAnalyzerTest | testComplexNestedAssigns4 | Success | | 0.001 |
| NameAnalyzerTest | testUnintendedUseOfInheritsInLocalScope1 | Success | | 0.001 |
| NameAnalyzerTest | testUnintendedUseOfInheritsInLocalScope2 | Success | | 0.001 |
| NameAnalyzerTest | testUnintendedUseOfInheritsInLocalScope3 | Success | | 0.001 |
| NameAnalyzerTest | testUnintendedUseOfInheritsInLocalScope4 | Success | | 0.001 |
| NameAnalyzerTest | testPrototypePropertySetInLocalScope1 | Success | | 0.001 |
| NameAnalyzerTest | testPrototypePropertySetInLocalScope2 | Success | | 0.001 |
| NameAnalyzerTest | testPrototypePropertySetInLocalScope3 | Success | | 0.001 |
| NameAnalyzerTest | testPrototypePropertySetInLocalScope4 | Success | | 0.001 |
| NameAnalyzerTest | testPrototypePropertySetInLocalScope5 | Success | | 0.000 |
| NameAnalyzerTest | testPrototypePropertySetInLocalScope6 | Success | | 0.001 |
| NameAnalyzerTest | testPrototypePropertySetInLocalScope7 | Success | | 0.002 |
| NameAnalyzerTest | testRValueReference1 | Success | | 0.001 |
| NameAnalyzerTest | testRValueReference2 | Success | | 0.002 |
| NameAnalyzerTest | testRValueReference3 | Success | | 0.002 |
| NameAnalyzerTest | testRValueReference4 | Success | | 0.001 |
| NameAnalyzerTest | testRValueReference5 | Success | | 0.001 |
| NameAnalyzerTest | testRValueReference6 | Success | | 0.001 |
| NameAnalyzerTest | testUnhandledTopNode | Success | | 0.001 |
| NameAnalyzerTest | testPropertyDefinedInGlobalScope | Success | | 0.000 |
| NameAnalyzerTest | testConditionallyDefinedFunction1 | Success | | 0.001 |
| NameAnalyzerTest | testConditionallyDefinedFunction2 | Success | | 0.001 |
| NameAnalyzerTest | testConditionallyDefinedFunction3 | Success | | 0.001 |
| NameAnalyzerTest | testGetElemOnThis | Success | | 0.001 |
| NameAnalyzerTest | testRemoveInstanceOfOnly | Success | | 0.002 |
| NameAnalyzerTest | testRemoveLocalScopedInstanceOfOnly | Success | | 0.001 |
| NameAnalyzerTest | testRemoveInstanceOfWithReferencedMethod | Success | | 0.001 |
| NameAnalyzerTest | testDoNotChangeReferencedInstanceOf | Success | | 0.001 |
| NameAnalyzerTest | testDoNotChangeReferencedLocalScopedInstanceOf | Success | | 0.001 |
| NameAnalyzerTest | testDoNotChangeLocalScopeReferencedInstanceOf | Success | | 0.002 |
| NameAnalyzerTest | testDoNotChangeLocalScopeReferencedLocalScopedInstanceOf | Success | | 0.001 |
| NameAnalyzerTest | testDoNotChangeLocalScopeReferencedLocalScopedInstanceOf2 | Success | | 0.001 |
| NameAnalyzerTest | testDoNotChangeInstanceOfGetElem | Success | | 0.001 |
| NameAnalyzerTest | testWeirdnessOnLeftSideOfPrototype | Success | | 0.001 |
| NameAnalyzerTest | testDoNotChangeInstanceOfGetprop | Success | | 0.001 |
| NameAnalyzerTest | testShortCircuit1 | Success | | 0.001 |
| NameAnalyzerTest | testShortCircuit2 | Success | | 0.000 |
| NameAnalyzerTest | testShortCircuit3 | Success | | 0.001 |
| NameAnalyzerTest | testShortCircuit4 | Success | | 0.001 |
| NameAnalyzerTest | testShortCircuit5 | Success | | 0.001 |
| NameAnalyzerTest | testShortCircuit6 | Success | | 0.000 |
| NameAnalyzerTest | testShortCircuit7 | Success | | 0.001 |
| NameAnalyzerTest | testShortCircuit8 | Success | | 0.001 |
| NameAnalyzerTest | testRhsReference1 | Success | | 0.001 |
| NameAnalyzerTest | testRhsReference2 | Success | | 0.001 |
| NameAnalyzerTest | testRhsReference3 | Success | | 0.001 |
| NameAnalyzerTest | testRhsReference4 | Success | | 0.000 |
| NameAnalyzerTest | testRhsReference5 | Success | | 0.001 |
| NameAnalyzerTest | testRhsAssign1 | Success | | 0.000 |
| NameAnalyzerTest | testRhsAssign2 | Success | | 0.000 |
| NameAnalyzerTest | testRhsAssign3 | Success | | 0.001 |
| NameAnalyzerTest | testRhsAssign4 | Success | | 0.001 |
| NameAnalyzerTest | testRhsAssign5 | Success | | 0.001 |
| NameAnalyzerTest | testRhsAssign6 | Success | | 0.001 |
| NameAnalyzerTest | testRhsAssign7 | Success | | 0.001 |
| NameAnalyzerTest | testRhsAssign8 | Success | | 0.001 |
| NameAnalyzerTest | testRhsAssign9 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithOr1 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithOr2 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithAnd1 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithAnd2 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithHook1 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithHook2 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithHook2a | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithHook3 | Success | | 0.002 |
| NameAnalyzerTest | testAssignWithHook4 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithHook5 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithHook6 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithHook7 | Success | | 0.002 |
| NameAnalyzerTest | testAssignWithHook8 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithHook9 | Success | | 0.002 |
| NameAnalyzerTest | testAssign1 | Success | | 0.001 |
| NameAnalyzerTest | testAssign2 | Success | | 0.001 |
| NameAnalyzerTest | testAssign3 | Success | | 0.001 |
| NameAnalyzerTest | testAssign4 | Success | | 0.001 |
| NameAnalyzerTest | testAssign5 | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithCall | Success | | 0.001 |
| NameAnalyzerTest | testAssignWithCall2 | Success | | 0.001 |
| NameAnalyzerTest | testNestedAssign1 | Success | | 0.001 |
| NameAnalyzerTest | testNestedAssign2 | Success | | 0.001 |
| NameAnalyzerTest | testNestedAssign3 | Success | | 0.001 |
| NameAnalyzerTest | testNestedAssign4 | Success | | 0.002 |
| NameAnalyzerTest | testNestedAssign5 | Success | | 0.001 |
| NameAnalyzerTest | testNestedAssign15 | Success | | 0.000 |
| NameAnalyzerTest | testNestedAssign6 | Success | | 0.001 |
| NameAnalyzerTest | testNestedAssign7 | Success | | 0.001 |
| NameAnalyzerTest | testNestedAssign8 | Success | | 0.002 |
| NameAnalyzerTest | testRefChain1 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain2 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain3 | Success | | 0.002 |
| NameAnalyzerTest | testRefChain4 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain5 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain6 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain7 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain8 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain9 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain10 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain11 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain12 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain13 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain14 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain15 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain16 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain17 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain18 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain19 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain20 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain21 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain22 | Success | | 0.001 |
| NameAnalyzerTest | testRefChain23 | Success | | 0.001 |
| NameAnalyzerTest | testAssignmentWithComplexLhs | Success | | 0.000 |
| NameAnalyzerTest | testAssignmentWithComplexLhs2 | Success | | 0.000 |
| NameAnalyzerTest | testAssignmentWithComplexLhs3 | Success | | 0.001 |
| NameAnalyzerTest | testAssignmentWithComplexLhs4 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemovePrototypeDefinitionsOutsideGlobalScope1 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemovePrototypeDefinitionsOutsideGlobalScope2 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemovePrototypeDefinitionsOutsideGlobalScope4 | Success | | 0.000 |
| NameAnalyzerTest | testNoRemovePrototypeDefinitionsOutsideGlobalScope5 | Success | | 0.000 |
| NameAnalyzerTest | testRemovePrototypeDefinitionsInGlobalScope1 | Success | | 0.001 |
| NameAnalyzerTest | testRemovePrototypeDefinitionsInGlobalScope2 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveLabeledStatment | Success | | 0.001 |
| NameAnalyzerTest | testRemoveLabeledStatment2 | Success | | 0.001 |
| NameAnalyzerTest | testRemoveLabeledStatment3 | Success | | 0.000 |
| NameAnalyzerTest | testRemoveLabeledStatment4 | Success | | 0.001 |
| NameAnalyzerTest | testPreservePropertyMutationsToAlias1 | Success | | 0.001 |
| NameAnalyzerTest | testPreservePropertyMutationsToAlias2 | Success | | 0.001 |
| NameAnalyzerTest | testPreservePropertyMutationsToAlias3 | Success | | 0.001 |
| NameAnalyzerTest | testPreservePropertyMutationsToAlias4 | Success | | 0.001 |
| NameAnalyzerTest | testPreservePropertyMutationsToAlias5 | Success | | 0.002 |
| NameAnalyzerTest | testPreservePropertyMutationsToAlias6 | Success | | 0.002 |
| NameAnalyzerTest | testPreservePropertyMutationsToAlias7 | Success | | 0.002 |
| NameAnalyzerTest | testPreservePropertyMutationsToAlias8 | Failure |
Expected: var a={};var c={};c.y=0;var goog={};goog.inherits(c,a);c
Result: var c={};c.y=0;c
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME c 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME c 1 [is_constant_name: 1] [source_file: expected0]
STRING y 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING inherits 1 [source_file: expected0]
NAME c 1 [is_constant_name: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NAME c 1 [is_constant_name: 1] [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME c 1 [is_constant_name: 1] [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME c 1 [is_constant_name: 1] [source_file: testcode]
STRING y 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME c 1 [is_constant_name: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME c 1 [is_constant_name: 1] [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME c 1 [is_constant_name: 1] [source_file: expected0]
STRING y 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING inherits 1 [source_file: expected0]
NAME c 1 [is_constant_name: 1] [source_file: expected0]
NAME a 1 [is_constant_name: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NAME c 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME c 1 [is_constant_name: 1] [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME c 1 [is_constant_name: 1] [source_file: testcode]
STRING y 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME c 1 [is_constant_name: 1] [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var a={};var c={};c.y=0;var goog={};goog.inherits(c,a);c Result: var c={};c.y=0;c Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME c 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME c 1 [is_constant_name: 1] [source_file: expected0] STRING y 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING inherits 1 [source_file: expected0] NAME c 1 [is_constant_name: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NAME c 1 [is_constant_name: 1] [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME c 1 [is_constant_name: 1] [source_file: testcode] OBJECTLIT 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME c 1 [is_constant_name: 1] [source_file: testcode] STRING y 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME c 1 [is_constant_name: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME c 1 [is_constant_name: 1] [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME c 1 [is_constant_name: 1] [source_file: expected0] STRING y 1 [source_file: expected0] NUMBER 0.0 1 [source_file: expected0] VAR 1 [source_file: expected0] NAME goog 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING inherits 1 [source_file: expected0] NAME c 1 [is_constant_name: 1] [source_file: expected0] NAME a 1 [is_constant_name: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NAME c 1 [is_constant_name: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME c 1 [is_constant_name: 1] [source_file: testcode] OBJECTLIT 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME c 1 [is_constant_name: 1] [source_file: testcode] STRING y 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME c 1 [is_constant_name: 1] [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.NameAnalyzerTest.testPreservePropertyMutationsToAlias8(NameAnalyzerTest.java:1557)
| 0.002 |
| NameAnalyzerTest | testPreservePropertyMutationsToAlias9 | Success | | 0.002 |
| NameAnalyzerTest | testRemoveAlias | Success | | 0.001 |
| NameAnalyzerTest | testSingletonGetter2 | Success | | 0.002 |
| NameAnalyzerTest | testSingletonGetter3 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveWindowPropertyAlias1 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveWindowPropertyAlias2 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveWindowPropertyAlias3 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveWindowPropertyAlias4 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveWindowPropertyAlias4a | Success | | 0.002 |
| NameAnalyzerTest | testNoRemoveWindowPropertyAlias5 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveWindowPropertyAlias5a | Success | | 0.002 |
| NameAnalyzerTest | testNoRemoveWindowPropertyAlias6 | Success | | 0.002 |
| NameAnalyzerTest | testNoRemoveWindowPropertyAlias6a | Success | | 0.002 |
| NameAnalyzerTest | testNoRemoveWindowPropertyAlias7 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveWindowPropertyAlias7a | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveAlias0 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveAlias1 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveAlias2 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveAlias3 | Success | | 0.002 |
| NameAnalyzerTest | testNoRemoveAliasOfExternal0 | Success | | 0.002 |
| NameAnalyzerTest | testNoRemoveAliasOfExternal1 | Success | | 0.002 |
| NameAnalyzerTest | testNoRemoveAliasOfExternal2 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveThrowReference1 | Success | | 0.001 |
| NameAnalyzerTest | testNoRemoveThrowReference2 | Success | | 0.001 |
| NameAnalyzerTest | testClassDefinedInObjectLit1 | Success | | 0.001 |
| NameAnalyzerTest | testClassDefinedInObjectLit2 | Success | | 0.001 |
| NameAnalyzerTest | testClassDefinedInObjectLit3 | Success | | 0.001 |
| NameAnalyzerTest | testClassDefinedInObjectLit4 | Success | | 0.001 |
| NameAnalyzerTest | testVarReferencedInClassDefinedInObjectLit1 | Success | | 0.001 |
| NameAnalyzerTest | testVarReferencedInClassDefinedInObjectLit2 | Success | | 0.001 |
| NameAnalyzerTest | testArrayExt | Success | | 0.000 |
| NameAnalyzerTest | testArrayAliasExt | Success | | 0.000 |
| NameAnalyzerTest | testExternalAliasInstanceof1 | Success | | 0.000 |
| NameAnalyzerTest | testExternalAliasInstanceof2 | Success | | 0.000 |
| NameAnalyzerTest | testExternalAliasInstanceof3 | Success | | 0.001 |
| NameAnalyzerTest | testAliasInstanceof4 | Success | | 0.001 |
| NameAnalyzerTest | testAliasInstanceof5 | Success | | 0.001 |
| NameAnalyzerTest | testBrokenNamespaceWithPrototypeAssignment | Success | | 0.001 |
| NameAnalyzerTest | testRemovePrototypeAliases | Success | | 0.001 |
| NameAnalyzerTest | testIssue838a | Success | | 0.001 |
| NameAnalyzerTest | testIssue838b | Success | | 0.000 |
| NameAnalyzerTest | testIssue874a | Success | | 0.001 |
| NameAnalyzerTest | testIssue874b | Success | | 0.001 |
| NameAnalyzerTest | testIssue874c | Success | | 0.001 |
| NameAnalyzerTest | testIssue874d | Success | | 0.002 |
| NameAnalyzerTest | testIssue874e | Success | | 0.001 |
| NameAnalyzerTest | testBug6575051 | Success | | 0.002 |
| NameAnonymousFunctionsMappedTest | testSimpleVarAssignment1 | Success | | 0.003 |
| NameAnonymousFunctionsMappedTest | testSimpleVarAssignment2 | Success | | 0.000 |
| NameAnonymousFunctionsMappedTest | testSimpleVarAssignment3 | Success | | 0.001 |
| NameAnonymousFunctionsMappedTest | testAssignmentToProperty | Success | | 0.001 |
| NameAnonymousFunctionsMappedTest | testAssignmentToPrototype | Success | | 0.001 |
| NameAnonymousFunctionsMappedTest | testAssignmentToPrototype2 | Success | | 0.001 |
| NameAnonymousFunctionsMappedTest | testAssignmentToPrototype3 | Success | | 0.001 |
| NameAnonymousFunctionsMappedTest | testAssignmentToPrototype4 | Success | | 0.001 |
| NameAnonymousFunctionsMappedTest | testAssignmentToPrototype5 | Success | | 0.001 |
| NameAnonymousFunctionsMappedTest | testPrototypeInitializer | Success | | 0.001 |
| NameAnonymousFunctionsMappedTest | testAssignmentToPropertyOfCallReturnValue | Success | | 0.000 |
| NameAnonymousFunctionsMappedTest | testAssignmentToPropertyOfArrayElement | Success | | 0.002 |
| NameAnonymousFunctionsMappedTest | testAssignmentToGetElem | Success | | 0.000 |
| NameAnonymousFunctionsMappedTest | testGetElemWithDashes | Success | | 0.000 |
| NameAnonymousFunctionsMappedTest | testDuplicateNames | Success | | 0.001 |
| NameAnonymousFunctionsTest | testAssignmentToProperty | Success | | 0.001 |
| NameAnonymousFunctionsTest | testAssignmentToPrototype | Success | | 0.000 |
| NameAnonymousFunctionsTest | testAssignmentToPrototype2 | Success | | 0.001 |
| NameAnonymousFunctionsTest | testAssignmentToPrototype3 | Success | | 0.001 |
| NameAnonymousFunctionsTest | testAssignmentToPrototype4 | Success | | 0.001 |
| NameAnonymousFunctionsTest | testPrototypeInitializer | Success | | 0.001 |
| NameAnonymousFunctionsTest | testAssignmentToPropertyOfCallReturnValue | Success | | 0.001 |
| NameAnonymousFunctionsTest | testAssignmentToPropertyOfArrayElement | Success | | 0.003 |
| NameAnonymousFunctionsTest | testAssignmentToGetElem | Success | | 0.001 |
| NameAnonymousFunctionsTest | testGetElemWithDashes | Success | | 0.001 |
| NameAnonymousFunctionsTest | testSimpleVarAssignment | Success | | 0.001 |
| NameAnonymousFunctionsTest | testMultiplePrototypeInitializer | Success | | 0.001 |
| NameAnonymousFunctionsTest | testRecursiveObjectLiteral | Success | | 0.001 |
| NameAnonymousFunctionsTest | testWhatCausedIeToFail | Success | | 0.001 |
| NewTypeInferenceES5OrLowerTest | testFunctionBind | Success | | 0.139 |
| NewTypeInferenceES5OrLowerTest | testTryCatch | Success | | 0.022 |
| NewTypeInferenceES5OrLowerTest | testExterns | Success | | 0.005 |
| NewTypeInferenceES5OrLowerTest | testForIn | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 11, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 2]
----------------------------------------------------------------
Warning count expected:<0> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 11, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 2] ---------------------------------------------------------------- Warning count expected:<0> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testForIn(NewTypeInferenceES5OrLowerTest.java:4781)
| 0.006 |
| NewTypeInferenceES5OrLowerTest | testThrow | Success | | 0.019 |
| NewTypeInferenceES5OrLowerTest | testVarDefinitionsInExterns | Success | | 0.037 |
| NewTypeInferenceES5OrLowerTest | testDeclaredVariables | Success | | 0.010 |
| NewTypeInferenceES5OrLowerTest | testThisInAtTypeFunction | Success | | 0.060 |
| NewTypeInferenceES5OrLowerTest | testThisInFunctionJsdoc | Success | | 0.016 |
| NewTypeInferenceES5OrLowerTest | testDontCallMethodAsFunction | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 4 : 4]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 4 : 4] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testDontCallMethodAsFunction(NewTypeInferenceES5OrLowerTest.java:183)
| 0.012 |
| NewTypeInferenceES5OrLowerTest | testNewInFunctionJsdoc | Success | | 0.018 |
| NewTypeInferenceES5OrLowerTest | testInvalidThisReference | Success | | 0.012 |
| NewTypeInferenceES5OrLowerTest | testSuperClassWithUndeclaredProps | Success | | 0.007 |
| NewTypeInferenceES5OrLowerTest | testInheritMethodFromParent | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testSubClassWithUndeclaredProps | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testUseBeforeDeclaration | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testEmptyBlockPropagation | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testForLoopInference | Failure | Expected warning of type:
================================================================
[JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}.
expected : {2}
found : {3}
]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 2, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side.
left side : number
right side : string
at [testcode] line 3 : 2, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function .
expected : string
found : number
at [testcode] line 6 : 30]
----------------------------------------------------------------
Warning count expected:<1> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}. expected : {2} found : {3} ]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 2, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side. left side : number right side : string at [testcode] line 3 : 2, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function . expected : string found : number at [testcode] line 6 : 30] ---------------------------------------------------------------- Warning count expected:<1> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testForLoopInference(NewTypeInferenceES5OrLowerTest.java:347)
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testConditionalSpecialization | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 2, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 5 : 2, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 8 : 2]
----------------------------------------------------------------
Warning count expected:<0> but was:<4>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 2, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 5 : 2, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 8 : 2] ---------------------------------------------------------------- Warning count expected:<0> but was:<4> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testConditionalSpecialization(NewTypeInferenceES5OrLowerTest.java:381)
| 0.006 |
| NewTypeInferenceES5OrLowerTest | testUnspecializedStrictComparisons | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testAndOrConditionalSpecialization | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 2, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 5 : 2, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 8 : 2]
----------------------------------------------------------------
Warning count expected:<0> but was:<4>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 2, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 5 : 2, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 8 : 2] ---------------------------------------------------------------- Warning count expected:<0> but was:<4> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testAndOrConditionalSpecialization(NewTypeInferenceES5OrLowerTest.java:427)
| 0.006 |
| NewTypeInferenceES5OrLowerTest | testLoopConditionSpecialization | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testLoopConditionSpecialization(NewTypeInferenceES5OrLowerTest.java:521)
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testVarDecls | Failure | Expected warning of type:
================================================================
[JSC_MULTIPLE_VAR_DEF: declaration of multiple variables with shared type information]================================================================
but found:
----------------------------------------------------------------
[JSC_MULTIPLE_VAR_DEF. declaration of multiple variables with shared type information at [testcode] line 1 : 22, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 26, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 29]
----------------------------------------------------------------
Warning count expected:<1> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_MULTIPLE_VAR_DEF: declaration of multiple variables with shared type information]================================================================ but found: ---------------------------------------------------------------- [JSC_MULTIPLE_VAR_DEF. declaration of multiple variables with shared type information at [testcode] line 1 : 22, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 26, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 29] ---------------------------------------------------------------- Warning count expected:<1> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testVarDecls(NewTypeInferenceES5OrLowerTest.java:542)
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testBadInitialization | Success | | 0.005 |
| NewTypeInferenceES5OrLowerTest | testBadAssignment | Failure | Expected warning of type:
================================================================
[JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side.
left side : {0}
right side : {1}
]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 26, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 1 : 29, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side.
left side : string
right side : number
at [testcode] line 1 : 29]
----------------------------------------------------------------
Warning count expected:<1> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side. left side : {0} right side : {1} ]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 26, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 1 : 29, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side. left side : string right side : number at [testcode] line 1 : 29] ---------------------------------------------------------------- Warning count expected:<1> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testBadAssignment(NewTypeInferenceES5OrLowerTest.java:560)
| 0.006 |
| NewTypeInferenceES5OrLowerTest | testBadArithmetic | Failure | Expected warning of type:
================================================================
[JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}.
expected : {1}
found : {2}
]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 17, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator SUB.
expected : number
found : undefined
at [testcode] line 1 : 28]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}. expected : {1} found : {2} ]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 17, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator SUB. expected : number found : undefined at [testcode] line 1 : 28] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testBadArithmetic(NewTypeInferenceES5OrLowerTest.java:578)
| 0.035 |
| NewTypeInferenceES5OrLowerTest | testTypeAfterIF | Failure | Expected warning of type:
================================================================
[JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}.
expected : {1}
found : {2}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator SUB.
expected : number
found : number|string
at [testcode] line 1 : 26]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}. expected : {1} found : {2} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator SUB. expected : number found : number|string at [testcode] line 1 : 26] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testTypeAfterIF(NewTypeInferenceES5OrLowerTest.java:590)
| 0.005 |
| NewTypeInferenceES5OrLowerTest | testSimpleBwdPropagation | Failure | Expected warning of type:
================================================================
[JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}.
expected : {2}
found : {3}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 20, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f.
expected : number
found : string
at [testcode] line 2 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}. expected : {2} found : {3} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 20, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f. expected : number found : string at [testcode] line 2 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testSimpleBwdPropagation(NewTypeInferenceES5OrLowerTest.java:608)
| 0.013 |
| NewTypeInferenceES5OrLowerTest | testSimpleReturn | Failure | Expected warning of type:
================================================================
[JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side.
left side : {0}
right side : {1}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 20, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side.
left side : undefined
right side : number
at [testcode] line 1 : 70]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side. left side : {0} right side : {1} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 20, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side. left side : undefined right side : number at [testcode] line 1 : 70] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testSimpleReturn(NewTypeInferenceES5OrLowerTest.java:653)
| 0.033 |
| NewTypeInferenceES5OrLowerTest | testComparisons | Failure | Expected warning of type:
================================================================
[JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}.
expected : {1}
found : {2}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 15, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator LT.
expected : matching scalar types
found : number, number|string
at [testcode] line 1 : 37]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}. expected : {1} found : {2} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 15, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator LT. expected : matching scalar types found : number, number|string at [testcode] line 1 : 37] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testComparisons(NewTypeInferenceES5OrLowerTest.java:669)
| 0.027 |
| NewTypeInferenceES5OrLowerTest | testFunctionJsdoc | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 4 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 7 : 4]
----------------------------------------------------------------
Warning count expected:<0> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 4 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 7 : 4] ---------------------------------------------------------------- Warning count expected:<0> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testFunctionJsdoc(NewTypeInferenceES5OrLowerTest.java:772)
| 0.102 |
| NewTypeInferenceES5OrLowerTest | testFunctionSubtyping | Success | | 0.020 |
| NewTypeInferenceES5OrLowerTest | testFunctionJoin | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 8 : 6]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 8 : 6] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testFunctionJoin(NewTypeInferenceES5OrLowerTest.java:834)
| 0.005 |
| NewTypeInferenceES5OrLowerTest | testFunctionMeet | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testRecordWithoutTypesJsdoc | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testBackwardForwardPathologicalCase | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testTopInitialization | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 20]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 20] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testTopInitialization(NewTypeInferenceES5OrLowerTest.java:903)
| 0.006 |
| NewTypeInferenceES5OrLowerTest | testSimpleCalls | Success | | 0.039 |
| NewTypeInferenceES5OrLowerTest | testObjectType | Success | | 0.011 |
| NewTypeInferenceES5OrLowerTest | testCallsWithComplexOperator | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testDeferredChecks | Success | | 0.043 |
| NewTypeInferenceES5OrLowerTest | testFunctionsInsideFunctions | Failure | Expected warning of type:
================================================================
[JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side.
left side : {0}
right side : {1}
]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 18, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 2 : 15, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side.
left side : number
right side : string
at [testcode] line 2 : 15]
----------------------------------------------------------------
Warning count expected:<1> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side. left side : {0} right side : {1} ]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 18, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 2 : 15, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side. left side : number right side : string at [testcode] line 2 : 15] ---------------------------------------------------------------- Warning count expected:<1> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testFunctionsInsideFunctions(NewTypeInferenceES5OrLowerTest.java:1090)
| 0.010 |
| NewTypeInferenceES5OrLowerTest | testCrossScopeWarnings | Failure | Wrong warning type
Expected warning of type:
================================================================
[JSC_CROSS_SCOPE_GOTCHA: You thought we werent going to notice? Guess again.
Variable '{'0} typed inconsistently across scopes.
In outer scope : '{'1}
In inner scope : '{'2}
]================================================================
but found:
----------------------------------------------------------------
[JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator LT.
expected : matching scalar types
found : number, string
at [testcode] line 2 : 2]
----------------------------------------------------------------
junit.framework.AssertionFailedError: Wrong warning type Expected warning of type: ================================================================ [JSC_CROSS_SCOPE_GOTCHA: You thought we werent going to notice? Guess again. Variable '{'0} typed inconsistently across scopes. In outer scope : '{'1} In inner scope : '{'2} ]================================================================ but found: ---------------------------------------------------------------- [JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator LT. expected : matching scalar types found : number, string at [testcode] line 2 : 2] ----------------------------------------------------------------
at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:175) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testCrossScopeWarnings(NewTypeInferenceES5OrLowerTest.java:1102)
| 0.005 |
| NewTypeInferenceES5OrLowerTest | testTrickyUnknownBehavior | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testTrickyUnknownBehavior(NewTypeInferenceES5OrLowerTest.java:1141)
| 0.005 |
| NewTypeInferenceES5OrLowerTest | testDeclaredFunctionTypesInFormals | Failure | Expected warning of type:
================================================================
[JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}.
expected : {1}
found : {2}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator LT.
expected : matching scalar types
found : number, string
at [testcode] line 2 : 22]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}. expected : {1} found : {2} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator LT. expected : matching scalar types found : number, string at [testcode] line 2 : 22] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testDeclaredFunctionTypesInFormals(NewTypeInferenceES5OrLowerTest.java:1199)
| 0.018 |
| NewTypeInferenceES5OrLowerTest | testSpecializedFunctions | Success | | 0.030 |
| NewTypeInferenceES5OrLowerTest | testDifficultObjectSpecialization | Success | | 0.017 |
| NewTypeInferenceES5OrLowerTest | testLooseConstructors | Success | | 0.010 |
| NewTypeInferenceES5OrLowerTest | testLooseFunctions | Failure | Expected warning of type:
================================================================
[JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}.
expected : {2}
found : {3}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 6 : 6, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f.
expected : function(number):number (loose)
found : function(number):string
at [testcode] line 8 : 3]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}. expected : {2} found : {3} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 6 : 6, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f. expected : function(number):number (loose) found : function(number):string at [testcode] line 8 : 3] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testLooseFunctions(NewTypeInferenceES5OrLowerTest.java:1458)
| 0.057 |
| NewTypeInferenceES5OrLowerTest | testBackwardForwardPathologicalCase2 | Failure | Expected warning of type:
================================================================
[JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}.
expected : {1}
found : {2}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator LT.
expected : matching scalar types
found : number, string
at [testcode] line 3 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}. expected : {1} found : {2} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator LT. expected : matching scalar types found : number, string at [testcode] line 3 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testBackwardForwardPathologicalCase2(NewTypeInferenceES5OrLowerTest.java:1489)
| 0.005 |
| NewTypeInferenceES5OrLowerTest | testNotCallable | Success | | 0.005 |
| NewTypeInferenceES5OrLowerTest | testSimpleLocallyDefinedFunction | Success | | 0.018 |
| NewTypeInferenceES5OrLowerTest | testIdentityFunction | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testReturnTypeInferred | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testGetpropOnNonObjects | Failure | Expected warning of type:
================================================================
[JSC_PROPERTY_ACCESS_ON_NONOBJECT: Cannot access property {0} of non-object type {1}.]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 21, JSC_PROPERTY_ACCESS_ON_NONOBJECT. Cannot access property foo of non-object type undefined. at [testcode] line 2 : 0]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_PROPERTY_ACCESS_ON_NONOBJECT: Cannot access property {0} of non-object type {1}.]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 21, JSC_PROPERTY_ACCESS_ON_NONOBJECT. Cannot access property foo of non-object type undefined. at [testcode] line 2 : 0] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testGetpropOnNonObjects(NewTypeInferenceES5OrLowerTest.java:1552)
| 0.007 |
| NewTypeInferenceES5OrLowerTest | testNonexistentProperty | Failure | Expected warning of type:
================================================================
[JSC_INEXISTENT_PROPERTY: Property {0} never defined on {1}]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 16, JSC_INEXISTENT_PROPERTY. Property a never defined on {} at [testcode] line 1 : 20]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INEXISTENT_PROPERTY: Property {0} never defined on {1}]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 16, JSC_INEXISTENT_PROPERTY. Property a never defined on {} at [testcode] line 1 : 20] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testNonexistentProperty(NewTypeInferenceES5OrLowerTest.java:1639)
| 0.014 |
| NewTypeInferenceES5OrLowerTest | testNullableDereference | Failure | Expected warning of type:
================================================================
[JSC_NULLABLE_DEREFERENCE: Attempt to use nullable type {0}.]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4, JSC_NULLABLE_DEREFERENCE. Attempt to use nullable type function():undefined|null. at [testcode] line 1 : 34]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_NULLABLE_DEREFERENCE: Attempt to use nullable type {0}.]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4, JSC_NULLABLE_DEREFERENCE. Attempt to use nullable type function():undefined|null. at [testcode] line 1 : 34] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testNullableDereference(NewTypeInferenceES5OrLowerTest.java:1667)
| 0.018 |
| NewTypeInferenceES5OrLowerTest | testAsserts | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(EXPR_RESULT): [testcode]:6:2
o.p('str');
Parent(BLOCK): [testcode]:4:26
/** ?Foo */ o) {
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(EXPR_RESULT): [testcode]:6:2 o.p('str'); Parent(BLOCK): [testcode]:4:26 /** ?Foo */ o) {
at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.addUnknownTypeNames(GlobalTypeInfo.java:1913) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.access$1000(GlobalTypeInfo.java:1819) at com.google.javascript.jscomp.GlobalTypeInfo$CollectNamedTypes.visit(GlobalTypeInfo.java:622) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.GlobalTypeInfo.process(GlobalTypeInfo.java:291) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.NewTypeInferenceTestBase.parseAndTypeCheck(NewTypeInferenceTestBase.java:143) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:157) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testAsserts(NewTypeInferenceES5OrLowerTest.java:1747) Caused by: java.lang.IllegalStateException
| 0.011 |
| NewTypeInferenceES5OrLowerTest | testDontInferBottom | Failure | Expected warning of type:
================================================================
[JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side.
left side : {0}
right side : {1}
]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 34, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 1 : 38, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side.
left side : string
right side : number
at [testcode] line 1 : 38]
----------------------------------------------------------------
Warning count expected:<1> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side. left side : {0} right side : {1} ]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 34, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 1 : 38, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side. left side : string right side : number at [testcode] line 1 : 38] ---------------------------------------------------------------- Warning count expected:<1> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testDontInferBottom(NewTypeInferenceES5OrLowerTest.java:1771)
| 0.005 |
| NewTypeInferenceES5OrLowerTest | testAssignToInvalidObject | Failure | Expected warning of type:
================================================================
[JSC_PROPERTY_ACCESS_ON_NONOBJECT: Cannot access property {0} of non-object type {1}.]================================================================
but found:
----------------------------------------------------------------
[JSC_PROPERTY_ACCESS_ON_NONOBJECT. Cannot access property foo of non-object type undefined. at [testcode] line 1 : 0, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 15]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_PROPERTY_ACCESS_ON_NONOBJECT: Cannot access property {0} of non-object type {1}.]================================================================ but found: ---------------------------------------------------------------- [JSC_PROPERTY_ACCESS_ON_NONOBJECT. Cannot access property foo of non-object type undefined. at [testcode] line 1 : 0, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 15] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testAssignToInvalidObject(NewTypeInferenceES5OrLowerTest.java:1778)
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testAssignmentDoesntFlowWrongInit | Success | | 0.013 |
| NewTypeInferenceES5OrLowerTest | testPossiblyNonexistentProperties | Success | | 0.018 |
| NewTypeInferenceES5OrLowerTest | testDeclaredRecordTypes | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 14, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 30]
----------------------------------------------------------------
Warning count expected:<0> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 14, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 30] ---------------------------------------------------------------- Warning count expected:<0> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testDeclaredRecordTypes(NewTypeInferenceES5OrLowerTest.java:1914)
| 0.047 |
| NewTypeInferenceES5OrLowerTest | testSimpleObjectLiterals | Success | | 0.031 |
| NewTypeInferenceES5OrLowerTest | testInferPreciseTypeWithDeclaredUnknown | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testSimpleLooseObjects | Success | | 0.024 |
| NewTypeInferenceES5OrLowerTest | testNestedLooseObjects | Failure | Expected warning of type:
================================================================
[JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}.
expected : {2}
found : {3}
]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 3, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f.
expected : struct{x:number} (loose)
found : {x:string}
at [testcode] line 6 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}. expected : {2} found : {3} ]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 3, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f. expected : struct{x:number} (loose) found : {x:string} at [testcode] line 6 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testNestedLooseObjects(NewTypeInferenceES5OrLowerTest.java:2079)
| 0.021 |
| NewTypeInferenceES5OrLowerTest | testLooseObjectSubtyping | Success | | 0.032 |
| NewTypeInferenceES5OrLowerTest | testUnionOfRecords | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testUnionOfFunctionAndNumber | Failure | Expected warning of type:
================================================================
[JSC_NOT_FUNCTION_TYPE: {0} expressions are not callable, JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}.
expected : {2}
found : {3}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4, JSC_NOT_FUNCTION_TYPE. function(number):undefined|number expressions are not callable at [testcode] line 1 : 48, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function x.
expected : number
found : string
at [testcode] line 1 : 50]
----------------------------------------------------------------
Warning count expected:<2> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_NOT_FUNCTION_TYPE: {0} expressions are not callable, JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}. expected : {2} found : {3} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4, JSC_NOT_FUNCTION_TYPE. function(number):undefined|number expressions are not callable at [testcode] line 1 : 48, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function x. expected : number found : string at [testcode] line 1 : 50] ---------------------------------------------------------------- Warning count expected:<2> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testUnionOfFunctionAndNumber(NewTypeInferenceES5OrLowerTest.java:2210)
| 0.009 |
| NewTypeInferenceES5OrLowerTest | testAnonymousNominalType | Failure | Expected warning of type:
================================================================
[JSC_ANONYMOUS_NOMINAL_TYPE: Must specify a name when defining a class or interface.]================================================================
but found:
----------------------------------------------------------------
[JSC_ANONYMOUS_NOMINAL_TYPE. Must specify a name when defining a class or interface. at [testcode] line 4 : 10, JSC_INEXISTENT_PROPERTY. Property Foo never defined on {} at [testcode] line 5 : 5]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_ANONYMOUS_NOMINAL_TYPE: Must specify a name when defining a class or interface.]================================================================ but found: ---------------------------------------------------------------- [JSC_ANONYMOUS_NOMINAL_TYPE. Must specify a name when defining a class or interface. at [testcode] line 4 : 10, JSC_INEXISTENT_PROPERTY. Property Foo never defined on {} at [testcode] line 5 : 5] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testAnonymousNominalType(NewTypeInferenceES5OrLowerTest.java:2223)
| 0.007 |
| NewTypeInferenceES5OrLowerTest | testFoo | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(EXPR_RESULT): [testcode]:6:16
function f(x) { x.method('asdf'); }
Parent(BLOCK): [testcode]:6:14
function f(x) { x.method('asdf'); }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(EXPR_RESULT): [testcode]:6:16 function f(x) { x.method('asdf'); } Parent(BLOCK): [testcode]:6:14 function f(x) { x.method('asdf'); }
at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.addUnknownTypeNames(GlobalTypeInfo.java:1913) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.access$1000(GlobalTypeInfo.java:1819) at com.google.javascript.jscomp.GlobalTypeInfo$CollectNamedTypes.visit(GlobalTypeInfo.java:622) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.GlobalTypeInfo.process(GlobalTypeInfo.java:291) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.NewTypeInferenceTestBase.parseAndTypeCheck(NewTypeInferenceTestBase.java:143) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:157) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testFoo(NewTypeInferenceES5OrLowerTest.java:2260) Caused by: java.lang.IllegalStateException
| 0.019 |
| NewTypeInferenceES5OrLowerTest | testComma | Failure | Expected warning of type:
================================================================
[JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side.
left side : {0}
right side : {1}
]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 1 : 30, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side.
left side : string
right side : number
at [testcode] line 1 : 30]
----------------------------------------------------------------
Warning count expected:<1> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side. left side : {0} right side : {1} ]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 1 : 30, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side. left side : string right side : number at [testcode] line 1 : 30] ---------------------------------------------------------------- Warning count expected:<1> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testComma(NewTypeInferenceES5OrLowerTest.java:2271)
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testTypeof | Failure | Expected warning of type:
================================================================
[JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}.
expected : {2}
found : {3}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f.
expected : string
found : number
at [testcode] line 5 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}. expected : {2} found : {3} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f. expected : string found : number at [testcode] line 5 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testTypeof(NewTypeInferenceES5OrLowerTest.java:2287)
| 0.007 |
| NewTypeInferenceES5OrLowerTest | testAssignWithOp | Failure | Expected warning of type:
================================================================
[JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}.
expected : {2}
found : {3}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 7, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f.
expected : number
found : string
at [testcode] line 5 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}. expected : {2} found : {3} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 3 : 7, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f. expected : number found : string at [testcode] line 5 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testAssignWithOp(NewTypeInferenceES5OrLowerTest.java:2458)
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testClassConstructor | Success | | 0.035 |
| NewTypeInferenceES5OrLowerTest | testPropertyDeclarations | Success | | 0.018 |
| NewTypeInferenceES5OrLowerTest | testPrototypePropertyAssignments | Success | | 0.034 |
| NewTypeInferenceES5OrLowerTest | testAssignmentsToPrototype | Success | | 0.001 |
| NewTypeInferenceES5OrLowerTest | testConflictingPropertyDefinitions | Success | | 0.027 |
| NewTypeInferenceES5OrLowerTest | testPrototypeAliasing | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testInstanceof | Success | | 0.034 |
| NewTypeInferenceES5OrLowerTest | testFunctionsExtendFunction | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(EXPR_RESULT): [testcode]:2:37
if (x instanceof Function) { x(1); x('str') }
Parent(BLOCK): [testcode]:2:29
if (x instanceof Function) { x(1); x('str') }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(EXPR_RESULT): [testcode]:2:37 if (x instanceof Function) { x(1); x('str') } Parent(BLOCK): [testcode]:2:29 if (x instanceof Function) { x(1); x('str') }
at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.addUnknownTypeNames(GlobalTypeInfo.java:1913) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.access$1000(GlobalTypeInfo.java:1819) at com.google.javascript.jscomp.GlobalTypeInfo$CollectNamedTypes.visit(GlobalTypeInfo.java:622) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.GlobalTypeInfo.process(GlobalTypeInfo.java:291) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.NewTypeInferenceTestBase.parseAndTypeCheck(NewTypeInferenceTestBase.java:143) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:157) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testFunctionsExtendFunction(NewTypeInferenceES5OrLowerTest.java:2865) Caused by: java.lang.IllegalStateException
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testObjectsAreNotClassy | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testFunctionWithProps | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testConstructorProperties | Success | | 0.021 |
| NewTypeInferenceES5OrLowerTest | testTypeTighteningHeuristic | Failure | Expected warning of type:
================================================================
[JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}.
expected : {1}
found : {2}
]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 4 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 6 : 4, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator SUB.
expected : number
found : number|string
at [testcode] line 8 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<4>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_OPERAND_TYPE: Invalid type(s) for operator {0}. expected : {1} found : {2} ]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 4 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 6 : 4, JSC_INVALID_OPERAND_TYPE. Invalid type(s) for operator SUB. expected : number found : number|string at [testcode] line 8 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<4> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testTypeTighteningHeuristic(NewTypeInferenceES5OrLowerTest.java:2985)
| 0.010 |
| NewTypeInferenceES5OrLowerTest | testDeclaredPropertyIndirectly | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testNonRequiredArguments | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 4 : 13, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 6 : 4]
----------------------------------------------------------------
Warning count expected:<0> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 4 : 13, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 6 : 4] ---------------------------------------------------------------- Warning count expected:<0> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testNonRequiredArguments(NewTypeInferenceES5OrLowerTest.java:3008)
| 0.002 |
| NewTypeInferenceES5OrLowerTest | testInferredOptionalFormals | Success | | 0.011 |
| NewTypeInferenceES5OrLowerTest | testSimpleClassInheritance | Success | | 0.035 |
| NewTypeInferenceES5OrLowerTest | testInheritanceSubtyping | Success | | 0.027 |
| NewTypeInferenceES5OrLowerTest | testInheritanceImplicitObjectSubtyping | Success | | 0.005 |
| NewTypeInferenceES5OrLowerTest | testRecordtypeSubtyping | Success | | 0.000 |
| NewTypeInferenceES5OrLowerTest | testWarnAboutOverridesNotVisibleDuringGlobalTypeInfo | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testInvalidMethodPropertyOverride | Success | | 0.011 |
| NewTypeInferenceES5OrLowerTest | testMultipleObjects | Success | | 0.025 |
| NewTypeInferenceES5OrLowerTest | testMultipleFunctionsInUnion | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testPrototypeOnNonCtorFunction | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testInvalidTypeReference | Failure | Expected warning of type:
================================================================
[JSC_UNRECOGNIZED_TYPE_NAME: Type annotation references non-existent type {0}.]================================================================
but found:
----------------------------------------------------------------
[JSC_UNRECOGNIZED_TYPE_NAME. Type annotation references non-existent type gibberish. at [testcode] line 1 : 11, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 29]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_UNRECOGNIZED_TYPE_NAME: Type annotation references non-existent type {0}.]================================================================ but found: ---------------------------------------------------------------- [JSC_UNRECOGNIZED_TYPE_NAME. Type annotation references non-existent type gibberish. at [testcode] line 1 : 11, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 29] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testInvalidTypeReference(NewTypeInferenceES5OrLowerTest.java:3673)
| 0.002 |
| NewTypeInferenceES5OrLowerTest | testCircularDependencies | Success | | 0.020 |
| NewTypeInferenceES5OrLowerTest | testInterfaceNonEmptyFunction | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testInterfaceMistypedProp | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testInterfaceSingleInheritance | Success | | 0.032 |
| NewTypeInferenceES5OrLowerTest | testInterfaceMultipleInheritanceNoCrash | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testInterfaceArgument | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(EXPR_RESULT): [testcode]:6:18
function foo(x) { x.method('asdf'); }
Parent(BLOCK): [testcode]:6:16
function foo(x) { x.method('asdf'); }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(EXPR_RESULT): [testcode]:6:18 function foo(x) { x.method('asdf'); } Parent(BLOCK): [testcode]:6:16 function foo(x) { x.method('asdf'); }
at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.addUnknownTypeNames(GlobalTypeInfo.java:1913) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.access$1000(GlobalTypeInfo.java:1819) at com.google.javascript.jscomp.GlobalTypeInfo$CollectNamedTypes.visit(GlobalTypeInfo.java:622) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.GlobalTypeInfo.process(GlobalTypeInfo.java:291) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.NewTypeInferenceTestBase.parseAndTypeCheck(NewTypeInferenceTestBase.java:143) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:157) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testInterfaceArgument(NewTypeInferenceES5OrLowerTest.java:3901) Caused by: java.lang.IllegalStateException
| 0.001 |
| NewTypeInferenceES5OrLowerTest | testExtendedInterfacePropertiesCompatibility | Success | | 0.008 |
| NewTypeInferenceES5OrLowerTest | testTwoLevelExtendedInterface | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testConstructorExtensions | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testInterfaceAndConstructorInvalidConstructions | Success | | 0.011 |
| NewTypeInferenceES5OrLowerTest | testNot | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testNot(NewTypeInferenceES5OrLowerTest.java:4045)
| 0.006 |
| NewTypeInferenceES5OrLowerTest | testNullability | Success | | 0.009 |
| NewTypeInferenceES5OrLowerTest | testGetElem | Success | | 0.018 |
| NewTypeInferenceES5OrLowerTest | testNamespaces | Success | | 0.032 |
| NewTypeInferenceES5OrLowerTest | testNestedNamespaces | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testNonnamespaceLooksLikeANamespace | Success | | 0.013 |
| NewTypeInferenceES5OrLowerTest | testNamespacedObjectsDontCrash | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testRedeclaredNamespaces | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testReferenceToNonexistentNamespace | Success | | 0.017 |
| NewTypeInferenceES5OrLowerTest | testQnameInJsdoc | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testIncrementDecrements | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testNonStringComparisons | Success | | 0.035 |
| NewTypeInferenceES5OrLowerTest | testAnalyzeLoopsBwd | Success | | 0.012 |
| NewTypeInferenceES5OrLowerTest | testDontLoosenNominalTypes | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 44]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 44] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testDontLoosenNominalTypes(NewTypeInferenceES5OrLowerTest.java:4575)
| 0.003 |
| NewTypeInferenceES5OrLowerTest | testFunctionsWithAbnormalExit | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testAssignAdd | Failure | Expected warning of type:
================================================================
[JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}.
expected : {2}
found : {3}
]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 4 : 2, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f.
expected : number
found : string
at [testcode] line 6 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}. expected : {2} found : {3} ]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 4 : 2, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function f. expected : number found : string at [testcode] line 6 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testAssignAdd(NewTypeInferenceES5OrLowerTest.java:4614)
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testTypeCoercions | Success | | 0.008 |
| NewTypeInferenceES5OrLowerTest | testSwitch | Success | | 0.035 |
| NewTypeInferenceES5OrLowerTest | testIn | Success | | 0.009 |
| NewTypeInferenceES5OrLowerTest | testDelprop | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testArrayLit | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testArrayAccesses | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testRegExpLit | Success | | 0.001 |
| NewTypeInferenceES5OrLowerTest | testDifficultLvalues | Success | | 0.028 |
| NewTypeInferenceES5OrLowerTest | testQuestionableUnionJsDoc | Failure | Expected warning of type:
================================================================
[JSC_BAD_JSDOC_ANNOTATION: Bad JSDoc annotation. {0}]================================================================
but found:
----------------------------------------------------------------
[JSC_BAD_JSDOC_ANNOTATION. Bad JSDoc annotation. This union type is equivalent to '?'. at [testcode] line 1 : 18, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 28]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_BAD_JSDOC_ANNOTATION: Bad JSDoc annotation. {0}]================================================================ but found: ---------------------------------------------------------------- [JSC_BAD_JSDOC_ANNOTATION. Bad JSDoc annotation. This union type is equivalent to '?'. at [testcode] line 1 : 18, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 28] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testQuestionableUnionJsDoc(NewTypeInferenceES5OrLowerTest.java:4954)
| 0.002 |
| NewTypeInferenceES5OrLowerTest | testGenericsJsdocParsing | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 33]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 33] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testGenericsJsdocParsing(NewTypeInferenceES5OrLowerTest.java:4997)
| 0.012 |
| NewTypeInferenceES5OrLowerTest | testPolymorphicFunctionInstantiation | Success | | 0.042 |
| NewTypeInferenceES5OrLowerTest | testGenericReturnType | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testUnification | Success | | 0.032 |
| NewTypeInferenceES5OrLowerTest | testUnifyObjects | Failure | Expected warning of type:
================================================================
[JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}.
expected : {2}
found : {3}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 8 : 6, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function g.
expected : number|string
found : {}
at [testcode] line 11 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}. expected : {2} found : {3} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 8 : 6, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function g. expected : number|string found : {} at [testcode] line 11 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testUnifyObjects(NewTypeInferenceES5OrLowerTest.java:5389)
| 0.011 |
| NewTypeInferenceES5OrLowerTest | testFunctionTypeUnifyUnknowns | Success | | 0.018 |
| NewTypeInferenceES5OrLowerTest | testInstantiationInsideObjectTypes | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testInstantiateInsideFunctionTypes | Success | | 0.009 |
| NewTypeInferenceES5OrLowerTest | testPolymorphicFuncallsFromDifferentScope | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testOpacityOfTypeParameters | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 7 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 9 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 11 : 4]
----------------------------------------------------------------
Warning count expected:<0> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 7 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 9 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 11 : 4] ---------------------------------------------------------------- Warning count expected:<0> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testOpacityOfTypeParameters(NewTypeInferenceES5OrLowerTest.java:5697)
| 0.016 |
| NewTypeInferenceES5OrLowerTest | testGenericClassInstantiation | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(EXPR_RESULT): [testcode]:10:16
function f(x) { x.method('asdf'); }
Parent(BLOCK): [testcode]:10:14
function f(x) { x.method('asdf'); }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(EXPR_RESULT): [testcode]:10:16 function f(x) { x.method('asdf'); } Parent(BLOCK): [testcode]:10:14 function f(x) { x.method('asdf'); }
at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.addUnknownTypeNames(GlobalTypeInfo.java:1913) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.access$1000(GlobalTypeInfo.java:1819) at com.google.javascript.jscomp.GlobalTypeInfo$CollectNamedTypes.visit(GlobalTypeInfo.java:622) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.GlobalTypeInfo.process(GlobalTypeInfo.java:291) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.NewTypeInferenceTestBase.parseAndTypeCheck(NewTypeInferenceTestBase.java:143) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:157) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testGenericClassInstantiation(NewTypeInferenceES5OrLowerTest.java:5852) Caused by: java.lang.IllegalStateException
| 0.018 |
| NewTypeInferenceES5OrLowerTest | testLooserCheckingForInferredProperties | Success | | 0.008 |
| NewTypeInferenceES5OrLowerTest | testInheritanceWithGenerics | Success | | 0.064 |
| NewTypeInferenceES5OrLowerTest | testGenericsSubtyping | Success | | 0.044 |
| NewTypeInferenceES5OrLowerTest | testGenericsVariance | Success | | 0.008 |
| NewTypeInferenceES5OrLowerTest | testInferredArrayGenerics | Success | | 0.027 |
| NewTypeInferenceES5OrLowerTest | testSpecializedInstanceofCantGoToBottom | Success | | 0.008 |
| NewTypeInferenceES5OrLowerTest | testDeclaredGenericArrayTypes | Success | | 0.036 |
| NewTypeInferenceES5OrLowerTest | testInferConstTypeFromGoogGetMsg | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testInferConstTypeFromGenerics | Success | | 0.014 |
| NewTypeInferenceES5OrLowerTest | testDifficultClassGenericsInstantiation | Success | | 0.023 |
| NewTypeInferenceES5OrLowerTest | testNominalTypeUnification | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testCasts | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testCasts(NewTypeInferenceES5OrLowerTest.java:6808)
| 0.006 |
| NewTypeInferenceES5OrLowerTest | testOverride | Success | | 0.010 |
| NewTypeInferenceES5OrLowerTest | testOverrideNoInitializer | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(EXPR_RESULT): [testcode]:8:32
function f(/** !Subintf */ x) { x.method('asdf'); }
Parent(BLOCK): [testcode]:8:30
function f(/** !Subintf */ x) { x.method('asdf'); }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(EXPR_RESULT): [testcode]:8:32 function f(/** !Subintf */ x) { x.method('asdf'); } Parent(BLOCK): [testcode]:8:30 function f(/** !Subintf */ x) { x.method('asdf'); }
at com.google.common.base.Preconditions.checkState(Preconditions.java:158) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.addUnknownTypeNames(GlobalTypeInfo.java:1913) at com.google.javascript.jscomp.GlobalTypeInfo$Scope.access$1000(GlobalTypeInfo.java:1819) at com.google.javascript.jscomp.GlobalTypeInfo$CollectNamedTypes.visit(GlobalTypeInfo.java:622) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.GlobalTypeInfo.process(GlobalTypeInfo.java:291) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.NewTypeInferenceTestBase.parseAndTypeCheck(NewTypeInferenceTestBase.java:143) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:157) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testOverrideNoInitializer(NewTypeInferenceES5OrLowerTest.java:6864) Caused by: java.lang.IllegalStateException
| 0.002 |
| NewTypeInferenceES5OrLowerTest | testFunctionConstructor | Success | | 0.011 |
| NewTypeInferenceES5OrLowerTest | testConditionalExBranch | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testGenericInterfaceDoesntCrash | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testGetpropOnTopDoesntCrash | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testImplementsGenericInterfaceDoesntCrash | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testDeadCodeDoesntCrash | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testSpecializeFunctionToNominalDoesntCrash | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testPrototypeMethodOnUndeclaredDoesntCrash | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testFunctionGetpropDoesntCrash | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testUnannotatedBracketAccessDoesntCrash | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testUnknownTypeReferenceDoesntCrash | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testBottomPropAccessDoesntCrash | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testUnannotatedFunctionSummaryDoesntCrash | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 20]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 20] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheckCustomExterns(NewTypeInferenceTestBase.java:152) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testUnannotatedFunctionSummaryDoesntCrash(NewTypeInferenceES5OrLowerTest.java:7066)
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testSpecializeLooseNullDoesntCrash | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testOuterVarDefinitionJoinDoesntCrash | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testUnparameterizedArrayDefinitionDoesntCrash | Success | | 0.001 |
| NewTypeInferenceES5OrLowerTest | testInstanceofGenericTypeDoesntCrash | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testRedeclarationOfFunctionAsNamespaceDoesntCrash | Success | | 0.007 |
| NewTypeInferenceES5OrLowerTest | testInvalidEnumDoesntCrash | Failure | Expected warning of type:
================================================================
[JSC_BAD_JSDOC_ANNOTATION: Parse error. {0}]================================================================
but found:
----------------------------------------------------------------
[JSC_BAD_JSDOC_ANNOTATION. Bad JSDoc annotation. An enum type cannot be a union type. at [testcode] line 1 : 11, JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 7 : 8]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_BAD_JSDOC_ANNOTATION: Parse error. {0}]================================================================ but found: ---------------------------------------------------------------- [JSC_BAD_JSDOC_ANNOTATION. Bad JSDoc annotation. An enum type cannot be a union type. at [testcode] line 1 : 11, JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 7 : 8] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testInvalidEnumDoesntCrash(NewTypeInferenceES5OrLowerTest.java:7166)
| 0.007 |
| NewTypeInferenceES5OrLowerTest | testRemoveNonexistentPropDoesntCrash | Success | | 0.005 |
| NewTypeInferenceES5OrLowerTest | testDoublyAssignedPrototypeMethodDoesntCrash | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testTopFunctionAsArgumentDoesntCrash | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testGetpropDoesntCrash | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testLooseFunctionSubtypeDoesntCrash | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 36, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 2 : 0]
----------------------------------------------------------------
Warning count expected:<0> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 36, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 2 : 0] ---------------------------------------------------------------- Warning count expected:<0> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testLooseFunctionSubtypeDoesntCrash(NewTypeInferenceES5OrLowerTest.java:7259)
| 0.006 |
| NewTypeInferenceES5OrLowerTest | testMeetOfLooseObjAndNamedDoesntCrash | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testUninhabitableObjectTypeDoesntCrash | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testMockedOutConstructorDoesntCrash | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testNamespacePropWithNoTypeDoesntCrash | Success | | 0.002 |
| NewTypeInferenceES5OrLowerTest | testArrayLiteralUsedGenericallyDoesntCrash | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testSpecializeLooseFunctionDoesntCrash | Success | | 0.011 |
| NewTypeInferenceES5OrLowerTest | testGetpropOnPossiblyInexistentPropertyDoesntCrash | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testCtorManipulationDoesntCrash | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testAbstractMethodOverrides | Success | | 0.008 |
| NewTypeInferenceES5OrLowerTest | testThisReferenceUsedGenerically | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 7 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 8 : 20]
----------------------------------------------------------------
Warning count expected:<0> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 7 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 8 : 20] ---------------------------------------------------------------- Warning count expected:<0> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testThisReferenceUsedGenerically(NewTypeInferenceES5OrLowerTest.java:7374)
| 0.005 |
| NewTypeInferenceES5OrLowerTest | testGrandparentTemplatizedDoesntCrash | Success | | 0.007 |
| NewTypeInferenceES5OrLowerTest | testDebuggerStatementDoesntCrash | Success | | 0.009 |
| NewTypeInferenceES5OrLowerTest | testDeclaredMethodWithoutScope | Success | | 0.029 |
| NewTypeInferenceES5OrLowerTest | testDontOverrideNestedPropWithWorseType | Success | | 0.008 |
| NewTypeInferenceES5OrLowerTest | testPropNamesWithDot | Success | | 0.009 |
| NewTypeInferenceES5OrLowerTest | testObjLitDeclaredProps | Success | | 0.010 |
| NewTypeInferenceES5OrLowerTest | testCallArgumentsChecked | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testRecursiveFunctions | Success | | 0.009 |
| NewTypeInferenceES5OrLowerTest | testStructPropAccess | Failure | Expected warning of type:
================================================================
[JSC_ILLEGAL_PROPERTY_ACCESS: Cannot do {0} access on a {1}]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 4 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 6 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 9 : 4, JSC_ILLEGAL_PROPERTY_ACCESS. Cannot do '[]' access on a struct at [testcode] line 11 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<4>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_ILLEGAL_PROPERTY_ACCESS: Cannot do {0} access on a {1}]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 4 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 6 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 9 : 4, JSC_ILLEGAL_PROPERTY_ACCESS. Cannot do '[]' access on a struct at [testcode] line 11 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<4> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testStructPropAccess(NewTypeInferenceES5OrLowerTest.java:7573)
| 0.029 |
| NewTypeInferenceES5OrLowerTest | testDictPropAccess | Failure | Expected warning of type:
================================================================
[JSC_ILLEGAL_PROPERTY_ACCESS: Cannot do {0} access on a {1}]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 4 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 6 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 9 : 4, JSC_ILLEGAL_PROPERTY_ACCESS. Cannot do '.' access on a dict at [testcode] line 11 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<4>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_ILLEGAL_PROPERTY_ACCESS: Cannot do {0} access on a {1}]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 4 : 6, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 6 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 9 : 4, JSC_ILLEGAL_PROPERTY_ACCESS. Cannot do '.' access on a dict at [testcode] line 11 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<4> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testDictPropAccess(NewTypeInferenceES5OrLowerTest.java:7672)
| 0.017 |
| NewTypeInferenceES5OrLowerTest | testStructWithIn | Failure | Expected warning of type:
================================================================
[JSC_IN_USED_WITH_STRUCT: Cannot use the IN operator with structs]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 9, JSC_IN_USED_WITH_STRUCT. Cannot use the IN operator with structs at [testcode] line 1 : 29]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_IN_USED_WITH_STRUCT: Cannot use the IN operator with structs]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 9, JSC_IN_USED_WITH_STRUCT. Cannot use the IN operator with structs at [testcode] line 1 : 29] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testStructWithIn(NewTypeInferenceES5OrLowerTest.java:7700)
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testStructDictSubtyping | Success | | 0.009 |
| NewTypeInferenceES5OrLowerTest | testInferStructDictFormal | Success | | 0.016 |
| NewTypeInferenceES5OrLowerTest | testStructDictInheritance | Success | | 0.015 |
| NewTypeInferenceES5OrLowerTest | testStructPropCreation | Failure | Expected warning of type:
================================================================
[JSC_ILLEGAL_PROPERTY_CREATION: Cannot add a property to a struct instance after it is constructed.]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 6 : 6, JSC_ILLEGAL_PROPERTY_CREATION. Cannot add a property to a struct instance after it is constructed. at [testcode] line 7 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_ILLEGAL_PROPERTY_CREATION: Cannot add a property to a struct instance after it is constructed.]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 6 : 6, JSC_ILLEGAL_PROPERTY_CREATION. Cannot add a property to a struct instance after it is constructed. at [testcode] line 7 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testStructPropCreation(NewTypeInferenceES5OrLowerTest.java:7837)
| 0.025 |
| NewTypeInferenceES5OrLowerTest | testMisplacedStructDictAnnotation | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testGetters | Failure | Expected warning of type:
================================================================
[JSC_RETURN_NONDECLARED_TYPE: Returned type does not match declared return type.
declared : {0}
found : {1}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4, JSC_RETURN_NONDECLARED_TYPE. Returned type does not match declared return type.
declared : string
found : number
at [testcode] line 1 : 44]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_RETURN_NONDECLARED_TYPE: Returned type does not match declared return type. declared : {0} found : {1} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4, JSC_RETURN_NONDECLARED_TYPE. Returned type does not match declared return type. declared : string found : number at [testcode] line 1 : 44] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testGetters(NewTypeInferenceES5OrLowerTest.java:7896)
| 0.003 |
| NewTypeInferenceES5OrLowerTest | testSetters | Failure | Expected warning of type:
================================================================
[JSC_BAD_JSDOC_ANNOTATION: Parse error. {0}]================================================================
but found:
----------------------------------------------------------------
[JSC_BAD_JSDOC_ANNOTATION. Bad JSDoc annotation. Cannot declare a return type on a setter at (unknown source) line 1 : 43, JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_BAD_JSDOC_ANNOTATION: Parse error. {0}]================================================================ but found: ---------------------------------------------------------------- [JSC_BAD_JSDOC_ANNOTATION. Bad JSDoc annotation. Cannot declare a return type on a setter at (unknown source) line 1 : 43, JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 1 : 4] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testSetters(NewTypeInferenceES5OrLowerTest.java:7955)
| 0.003 |
| NewTypeInferenceES5OrLowerTest | testConstMissingInitializer | Success | | 0.015 |
| NewTypeInferenceES5OrLowerTest | testMisplacedConstPropertyAnnotation | Success | | 0.011 |
| NewTypeInferenceES5OrLowerTest | testConstVarsDontReassign | Success | | 0.015 |
| NewTypeInferenceES5OrLowerTest | testConstPropertiesDontReassign | Success | | 0.030 |
| NewTypeInferenceES5OrLowerTest | testConstantByConvention | Success | | 0.004 |
| NewTypeInferenceES5OrLowerTest | testDontOverrideFinalMethods | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testInferenceOfConstType | Failure | Expected warning of type:
================================================================
[JSC_INEXISTENT_PROPERTY: Property {0} never defined on {1}]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 2 : 22, JSC_INEXISTENT_PROPERTY. Property prop never defined on {} at [testcode] line 3 : 22]
----------------------------------------------------------------
Warning count expected:<1> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INEXISTENT_PROPERTY: Property {0} never defined on {1}]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 2 : 22, JSC_INEXISTENT_PROPERTY. Property prop never defined on {} at [testcode] line 3 : 22] ---------------------------------------------------------------- Warning count expected:<1> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testInferenceOfConstType(NewTypeInferenceES5OrLowerTest.java:8298)
| 0.014 |
| NewTypeInferenceES5OrLowerTest | testSuppressions | Success | | 0.010 |
| NewTypeInferenceES5OrLowerTest | testTypedefs | Success | | 0.028 |
| NewTypeInferenceES5OrLowerTest | testLends | Success | | 0.042 |
| NewTypeInferenceES5OrLowerTest | testEnumBasicTyping | Success | | 0.018 |
| NewTypeInferenceES5OrLowerTest | testEnumsWithNonScalarDeclaredType | Success | | 0.017 |
| NewTypeInferenceES5OrLowerTest | testEnumBadInitializer | Success | | 0.016 |
| NewTypeInferenceES5OrLowerTest | testEnumPropertiesConstant | Success | | 0.010 |
| NewTypeInferenceES5OrLowerTest | testEnumIllegalRecursion | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testEnumBadDeclaredType | Success | | 0.022 |
| NewTypeInferenceES5OrLowerTest | testEnumsWithGenerics | Success | | 0.005 |
| NewTypeInferenceES5OrLowerTest | testEnumJoinSpecializeMeet | Failure | Expected warning of type:
================================================================
[JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side.
left side : {0}
right side : {1}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 4 : 6, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side.
left side : E
right side : number
at [testcode] line 6 : 19]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side. left side : {0} right side : {1} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 4 : 6, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side. left side : E right side : number at [testcode] line 6 : 19] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testEnumJoinSpecializeMeet(NewTypeInferenceES5OrLowerTest.java:9043)
| 0.002 |
| NewTypeInferenceES5OrLowerTest | testEnumAliasing | Failure | Expected warning of type:
================================================================
[JSC_MALFORMED_ENUM: An enum must be initialized to a non-empty object literal.]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 4, JSC_MALFORMED_ENUM. An enum must be initialized to a non-empty object literal. at [testcode] line 5 : 4]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_MALFORMED_ENUM: An enum must be initialized to a non-empty object literal.]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 1 : 4, JSC_MALFORMED_ENUM. An enum must be initialized to a non-empty object literal. at [testcode] line 5 : 4] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testEnumAliasing(NewTypeInferenceES5OrLowerTest.java:9170)
| 0.005 |
| NewTypeInferenceES5OrLowerTest | testNoDoubleWarnings | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testRecordSpecializeNominalPreservesRequired | Failure | Expected warning of type:
================================================================
[JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}.
expected : {2}
found : {3}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 3 : 4, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function .
expected : {x:number}
found : {x:number=, y:string=}
at [testcode] line 7 : 35]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}. expected : {2} found : {3} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 3 : 4, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function . expected : {x:number} found : {x:number=, y:string=} at [testcode] line 7 : 35] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testRecordSpecializeNominalPreservesRequired(NewTypeInferenceES5OrLowerTest.java:9255)
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testGoogIsPredicatesNoSpecializedContext | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testGoogIsPredicatesTrue | Failure | Expected warning of type:
================================================================
[JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side.
left side : {0}
right side : {1}
]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 5 : 18, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 7 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 9 : 2, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side.
left side : Foo
right side : Foo|null|undefined
at [testcode] line 9 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<4>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side. left side : {0} right side : {1} ]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 5 : 18, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 7 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 9 : 2, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side. left side : Foo right side : Foo|null|undefined at [testcode] line 9 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<4> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testGoogIsPredicatesTrue(NewTypeInferenceES5OrLowerTest.java:9294)
| 0.007 |
| NewTypeInferenceES5OrLowerTest | testGoogIsPredicatesFalse | Failure | Expected warning of type:
================================================================
[JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side.
left side : {0}
right side : {1}
]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 4 : 18, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 6 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 8 : 2, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side.
left side : Foo
right side : Foo|null
at [testcode] line 8 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<4>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_MISTYPED_ASSIGN_RHS: The right side in the assignment is not a subtype of the left side. left side : {0} right side : {1} ]================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 4 : 18, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 6 : 4, JSC_CONST_REASSIGNED. Cannot change the value of a constant. at [testcode] line 8 : 2, JSC_MISTYPED_ASSIGN_RHS. The right side in the assignment is not a subtype of the left side. left side : Foo right side : Foo|null at [testcode] line 8 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<4> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testGoogIsPredicatesFalse(NewTypeInferenceES5OrLowerTest.java:9362)
| 0.002 |
| NewTypeInferenceES5OrLowerTest | testGoogTypeof | Success | | 0.015 |
| NewTypeInferenceES5OrLowerTest | testSuperClassCtorProperty | Failure | Expected warning of type:
================================================================
[JSC_INEXISTENT_PROPERTY: Property {0} never defined on {1}]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 3 : 24, JSC_INEXISTENT_PROPERTY. Property superClass_ never defined on {x:string} at [testcode] line 3 : 28]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INEXISTENT_PROPERTY: Property {0} never defined on {1}]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 3 : 24, JSC_INEXISTENT_PROPERTY. Property superClass_ never defined on {x:string} at [testcode] line 3 : 28] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testSuperClassCtorProperty(NewTypeInferenceES5OrLowerTest.java:9523)
| 0.019 |
| NewTypeInferenceES5OrLowerTest | testAcrossScopeNamespaces | Success | | 0.009 |
| NewTypeInferenceES5OrLowerTest | testQualifiedNamedTypes | Success | | 0.014 |
| NewTypeInferenceES5OrLowerTest | testEnumsAsNamespaces | Success | | 0.017 |
| NewTypeInferenceES5OrLowerTest | testStringMethods | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testOutOfOrderDeclarations | Success | | 0.003 |
| NewTypeInferenceES5OrLowerTest | testAbstractMethodsAreTypedCorrectly | Success | | 0.015 |
| NewTypeInferenceES5OrLowerTest | testUseJsdocOfCalleeForUnannotatedFunctionsInArgumentPosition | Success | | 0.034 |
| NewTypeInferenceES5OrLowerTest | testNamespacesWithNonEmptyObjectLiteral | Success | | 0.020 |
| NewTypeInferenceES5OrLowerTest | testAllTestsShouldHaveDupPropWarnings | Success | | 0.015 |
| NewTypeInferenceES5OrLowerTest | testNominalTypeAliasing | Failure | Expected warning of type:
================================================================
[JSC_EXPECTED_CONSTRUCTOR: Expected constructor name but found {0}., JSC_UNRECOGNIZED_TYPE_NAME: Type annotation references non-existent type {0}.]================================================================
but found:
----------------------------------------------------------------
[JSC_EXPECTED_CONSTRUCTOR. Expected constructor name but found Bar. at [testcode] line 5 : 10, JSC_UNRECOGNIZED_TYPE_NAME. Type annotation references non-existent type Foo. at [testcode] line 6 : 9, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 6 : 16]
----------------------------------------------------------------
Warning count expected:<2> but was:<3>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_EXPECTED_CONSTRUCTOR: Expected constructor name but found {0}., JSC_UNRECOGNIZED_TYPE_NAME: Type annotation references non-existent type {0}.]================================================================ but found: ---------------------------------------------------------------- [JSC_EXPECTED_CONSTRUCTOR. Expected constructor name but found Bar. at [testcode] line 5 : 10, JSC_UNRECOGNIZED_TYPE_NAME. Type annotation references non-existent type Foo. at [testcode] line 6 : 9, JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 6 : 16] ---------------------------------------------------------------- Warning count expected:<2> but was:<3> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheckCustomExterns(NewTypeInferenceTestBase.java:152) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testNominalTypeAliasing(NewTypeInferenceES5OrLowerTest.java:9922)
| 0.021 |
| NewTypeInferenceES5OrLowerTest | testTypeVariablesVisibleInPrototypeMethods | Success | | 0.017 |
| NewTypeInferenceES5OrLowerTest | testInferConstTypeFromEnumProps | Success | | 0.006 |
| NewTypeInferenceES5OrLowerTest | testForwardDeclarations | Success | | 0.013 |
| NewTypeInferenceES5OrLowerTest | testDontLookupInParentScopeForNamesWithoutDeclaredType | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 4]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 4] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testDontLookupInParentScopeForNamesWithoutDeclaredType(NewTypeInferenceES5OrLowerTest.java:10080)
| 0.003 |
| NewTypeInferenceES5OrLowerTest | testSpecializationInPropertyAccesses | Success | | 0.010 |
| NewTypeInferenceES5OrLowerTest | testAutoconvertBoxedNumberToNumber | Success | | 0.021 |
| NewTypeInferenceES5OrLowerTest | testAutoconvertBoxedStringToString | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 21]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_CONST_WITHOUT_INITIALIZER. Constants must be initialized when they are defined. at [testcode] line 2 : 21] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testAutoconvertBoxedStringToString(NewTypeInferenceES5OrLowerTest.java:10162)
| 0.006 |
| NewTypeInferenceES5OrLowerTest | testAutoconvertBoxedBooleanToBoolean | Success | | 0.007 |
| NewTypeInferenceES5OrLowerTest | testAutoconvertScalarsToBoxedScalars | Success | | 0.019 |
| NewTypeInferenceES5OrLowerTest | testConstructorsCalledWithoutNew | Success | | 0.012 |
| NewTypeInferenceES5OrLowerTest | testClosureStyleFunctionBind | Failure | Expected warning of type:
================================================================
[JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}.
expected : {2}
found : {3}
]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 4, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function g.
expected : number
found : string
at [testcode] line 3 : 2]
----------------------------------------------------------------
Warning count expected:<1> but was:<2>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ [JSC_INVALID_ARGUMENT_TYPE: Invalid type for parameter {0} of function {1}. expected : {2} found : {3} ]================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 4, JSC_INVALID_ARGUMENT_TYPE. Invalid type for parameter 1 of function g. expected : number found : string at [testcode] line 3 : 2] ---------------------------------------------------------------- Warning count expected:<1> but was:<2> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testClosureStyleFunctionBind(NewTypeInferenceES5OrLowerTest.java:10449)
| 0.012 |
| NewTypeInferenceES5OrLowerTest | testPlusBackwardInference | Failure | Expected warning of type:
================================================================
[]================================================================
but found:
----------------------------------------------------------------
[JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6]
----------------------------------------------------------------
Warning count expected:<0> but was:<1>
junit.framework.AssertionFailedError: Expected warning of type: ================================================================ []================================================================ but found: ---------------------------------------------------------------- [JSC_COULD_NOT_INFER_CONST_TYPE. All constants must be typed. The compiler could not infer the type of this constant. Please use an explicit type annotation. at [testcode] line 2 : 6] ---------------------------------------------------------------- Warning count expected:<0> but was:<1> at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:172) at com.google.javascript.jscomp.NewTypeInferenceTestBase.typeCheck(NewTypeInferenceTestBase.java:147) at com.google.javascript.jscomp.NewTypeInferenceES5OrLowerTest.testPlusBackwardInference(NewTypeInferenceES5OrLowerTest.java:10474)
| 0.004 |
| NewTypeInferenceES5OrLowerTest | testAndOr | Success | | 0.014 |
| NewTypeInferenceES6Test | testSimpleClasses | Success | | 0.011 |
| NewTypeInferenceES6Test | testClassInheritance | Success | | 0.011 |
| NewTypeInferenceES6TypedTest | testSimpleClasses | Success | | 0.005 |
| NewTypeInferenceES6TypedTest | testSimpleFunctions | Success | | 0.009 |
| NewTypeInferenceES6TypedTest | testSimpleAnnotationsNoWarnings | Success | | 0.017 |
| NewTypeInferenceES6TypedTest | testSimpleAnnotationsWarnings | Success | | 0.003 |
| NewTypeInferenceES6TypedTest | testClassPropertyDeclarations | Success | | 0.013 |
| NodeIteratorsTest | testNamedFunction | Success | | 0.001 |
| NodeIteratorsTest | testBasic | Success | | 0.001 |
| NodeIteratorsTest | testNamedFunction2 | Success | | 0.000 |
| NodeIteratorsTest | testHaltAtVarRef | Success | | 0.001 |
| NodeIteratorsTest | testFunctionExpression | Success | | 0.000 |
| NodeIteratorsTest | testFunctionExpression2 | Success | | 0.001 |
| NodeIteratorsTest | testHaltAtVarRef2 | Success | | 0.000 |
| NodeIteratorsTest | testHaltAtVarRef3 | Success | | 0.000 |
| NodeIteratorsTest | testHaltAtSideEffects | Success | | 0.001 |
| NodeIteratorsTest | testHaltAtSideEffects2 | Success | | 0.000 |
| NodeIteratorsTest | testHaltAtSideEffects3 | Success | | 0.000 |
| NodeIteratorsTest | testHaltAtSideEffects4 | Success | | 0.001 |
| NodeIteratorsTest | testHaltAtSideEffects5 | Success | | 0.000 |
| NodeIteratorsTest | testNoHaltReadWhenValueIsImmutable | Success | | 0.000 |
| NodeIteratorsTest | testHaltReadWhenValueHasSideEffects | Success | | 0.000 |
| NodeIteratorsTest | testCatchBlock | Success | | 0.001 |
| NodeIteratorsTest | testIfBranch | Success | | 0.000 |
| NodeTraversalTest | testPruningCallbackShouldTraverse2 | Success | | 0.002 |
| NodeTraversalTest | testReport | Success | | 0.001 |
| NodeTraversalTest | testUnexpectedException | Success | | 0.001 |
| NodeTraversalTest | testGetScopeRoot | Success | | 0.001 |
| NodeTraversalTest | testGetLineNoAndGetCharno | Success | | 0.001 |
| NodeTraversalTest | testGetCurrentNode | Success | | 0.001 |
| NodeTraversalTest | testPruningCallbackShouldTraverse1 | Success | | 0.000 |
| NodeUtilTest | testIsLiteralOrConstValue | Success | | 0.003 |
| NodeUtilTest | testGetBooleanValue | Success | | 0.002 |
| NodeUtilTest | test1 | Success | | 0.000 |
| NodeUtilTest | testGetExpressionBooleanValue | Success | | 0.005 |
| NodeUtilTest | testGetStringValue | Success | | 0.002 |
| NodeUtilTest | testGetArrayStringValue | Success | | 0.001 |
| NodeUtilTest | testIsObjectLiteralKey1 | Success | | 0.002 |
| NodeUtilTest | testGetFunctionName1 | Success | | 0.000 |
| NodeUtilTest | testGetFunctionName2 | Success | | 0.000 |
| NodeUtilTest | testGetFunctionName3 | Success | | 0.000 |
| NodeUtilTest | testGetFunctionName4 | Success | | 0.000 |
| NodeUtilTest | testGetFunctionName5 | Success | | 0.000 |
| NodeUtilTest | testContainsFunctionDeclaration | Success | | 0.001 |
| NodeUtilTest | testMayHaveSideEffects | Success | | 0.006 |
| NodeUtilTest | testObjectMethodSideEffects | Success | | 0.001 |
| NodeUtilTest | testRegExpSideEffect | Success | | 0.002 |
| NodeUtilTest | testMayEffectMutableState | Success | | 0.003 |
| NodeUtilTest | testIsFunctionExpression | Success | | 0.002 |
| NodeUtilTest | testContainsType | Success | | 0.000 |
| NodeUtilTest | testReferencesThis | Success | | 0.001 |
| NodeUtilTest | testGetNodeTypeReferenceCount | Success | | 0.000 |
| NodeUtilTest | testIsNameReferenceCount | Success | | 0.001 |
| NodeUtilTest | testGetNameReferenceCount | Success | | 0.001 |
| NodeUtilTest | testGetVarsDeclaredInBranch | Success | | 0.001 |
| NodeUtilTest | testIsControlStructureCodeBlock | Success | | 0.000 |
| NodeUtilTest | testIsFunctionExpression1 | Success | | 0.001 |
| NodeUtilTest | testIsFunctionExpression2 | Success | | 0.000 |
| NodeUtilTest | testRemoveChildBlock | Success | | 0.001 |
| NodeUtilTest | testRemoveTryChild1 | Success | | 0.001 |
| NodeUtilTest | testRemoveTryChild2 | Success | | 0.000 |
| NodeUtilTest | testRemoveTryChild3 | Success | | 0.000 |
| NodeUtilTest | testRemoveTryChild4 | Success | | 0.001 |
| NodeUtilTest | testRemoveTryChild5 | Success | | 0.000 |
| NodeUtilTest | testRemoveVarChild | Success | | 0.001 |
| NodeUtilTest | testRemoveLabelChild1 | Success | | 0.000 |
| NodeUtilTest | testRemoveLabelChild2 | Success | | 0.001 |
| NodeUtilTest | testRemoveForChild | Success | | 0.001 |
| NodeUtilTest | testMergeBlock1 | Success | | 0.000 |
| NodeUtilTest | testMergeBlock2 | Success | | 0.000 |
| NodeUtilTest | testMergeBlock3 | Success | | 0.000 |
| NodeUtilTest | testGetSourceName | Success | | 0.000 |
| NodeUtilTest | testLocalValue1 | Success | | 0.008 |
| NodeUtilTest | testLocalValue2 | Success | | 0.000 |
| NodeUtilTest | testCallSideEffects | Success | | 0.000 |
| NodeUtilTest | testValidDefine | Success | | 0.002 |
| NodeUtilTest | testGetNumberValue | Success | | 0.009 |
| NodeUtilTest | testIsNumbericResult | Success | | 0.004 |
| NodeUtilTest | testIsBooleanResult | Success | | 0.003 |
| NodeUtilTest | testMayBeString | Success | | 0.003 |
| NodeUtilTest | testIsStringResult | Success | | 0.003 |
| NodeUtilTest | testValidNames | Success | | 0.001 |
| NodeUtilTest | testGetNearestFunctionName | Success | | 0.002 |
| NodeUtilTest | testGetBestLValue | Success | | 0.001 |
| NodeUtilTest | testIsNaN | Success | | 0.001 |
| NodeUtilTest | testIsExecutedExactlyOnce | Success | | 0.004 |
| NodeUtilTest | testNewQName1 | Success | | 0.001 |
| NodeUtilTest | testNewQualifiedNameNode2 | Success | | 0.000 |
| NormalizeTest | testFor | Success | | 0.004 |
| NormalizeTest | testWhile | Success | | 0.000 |
| NormalizeTest | testSplitVar | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME b 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
NAME c 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
NUMBER 3.0 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME b 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] NAME c 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode] NUMBER 3.0 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.NormalizeTest.testSplitVar(NormalizeTest.java:77)
| 0.005 |
| NormalizeTest | testDuplicateVarInExterns | Success | | 0.000 |
| NormalizeTest | testUnhandled | Success | | 0.001 |
| NormalizeTest | testForIn1 | Success | | 0.002 |
| NormalizeTest | testForIn2 | Success | | 0.001 |
| NormalizeTest | testMoveFunctions1 | Success | | 0.001 |
| NormalizeTest | testMoveFunctions2 | Success | | 0.001 |
| NormalizeTest | testNormalizeFunctionDeclarations | Success | | 0.008 |
| NormalizeTest | testMakeLocalNamesUnique | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME e 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.NormalizeTest.testMakeLocalNamesUnique(NormalizeTest.java:263)
| 0.004 |
| NormalizeTest | testRemoveDuplicateVarDeclarations1 | Success | | 0.004 |
| NormalizeTest | testRemoveDuplicateVarDeclarations2 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.NormalizeTest.testRemoveDuplicateVarDeclarations2(NormalizeTest.java:298)
| 0.001 |
| NormalizeTest | testRemoveDuplicateVarDeclarations3 | Success | | 0.006 |
| NormalizeTest | testRenamingConstants | Success | | 0.003 |
| NormalizeTest | testSkipRenamingExterns | Success | | 0.001 |
| NormalizeTest | testIssue166a | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [jsdoc_info: JSDocInfo] [source_file: testcode]
NAME e 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [jsdoc_info: JSDocInfo] [source_file: testcode] NAME e 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.NormalizeTest.testIssue166a(NormalizeTest.java:348)
| 0.001 |
| NormalizeTest | testIssue166b | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [jsdoc_info: JSDocInfo] [source_file: testcode]
NAME e 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [jsdoc_info: JSDocInfo] [source_file: testcode] NAME e 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.NormalizeTest.testIssue166b(NormalizeTest.java:353)
| 0.001 |
| NormalizeTest | testIssue166c | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [jsdoc_info: JSDocInfo] [source_file: testcode]
NAME e 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [jsdoc_info: JSDocInfo] [source_file: testcode] NAME e 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.NormalizeTest.testIssue166c(NormalizeTest.java:360)
| 0.001 |
| NormalizeTest | testIssue166d | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [jsdoc_info: JSDocInfo] [source_file: testcode]
NAME e 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [jsdoc_info: JSDocInfo] [source_file: testcode] NAME e 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.NormalizeTest.testIssue166d(NormalizeTest.java:366)
| 0.001 |
| NormalizeTest | testIssue166e | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.NormalizeTest.testIssue166e(NormalizeTest.java:374)
| 0.001 |
| NormalizeTest | testIssue166f | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.NormalizeTest.testIssue166f(NormalizeTest.java:379)
| 0.001 |
| NormalizeTest | testIssue | Success | | 0.000 |
| NormalizeTest | testNormalizeSyntheticCode | Success | | 0.000 |
| NormalizeTest | testIsConstant | Error | Not true that <[NAME b 1 [is_constant_name: 1] [source_file: testcode], NAME CONST 1 [is_constant_name: 1] [source_file: testcode], NAME CONST 1 [is_constant_name: 1] [source_file: testcode]]> has a size of <2>. It is <3>
java.lang.AssertionError: Not true that <[NAME b 1 [is_constant_name: 1] [source_file: testcode], NAME CONST 1 [is_constant_name: 1] [source_file: testcode], NAME CONST 1 [is_constant_name: 1] [source_file: testcode]]> has a size of <2>. It is <3> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.failWithBadResults(Subject.java:268) at com.google.common.truth.IterableSubject.hasSize(IterableSubject.java:88) at com.google.javascript.jscomp.NormalizeTest.testIsConstant(NormalizeTest.java:410)
| 0.010 |
| NormalizeTest | testPropertyIsConstant1 | Error | Not true that <[STRING CONST 1 [is_constant_name: 1] [source_file: testcode], NAME b 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], STRING CONST 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode]]> has a size of <2>. It is <6>
java.lang.AssertionError: Not true that <[STRING CONST 1 [is_constant_name: 1] [source_file: testcode], NAME b 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], STRING CONST 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode]]> has a size of <2>. It is <6> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.failWithBadResults(Subject.java:268) at com.google.common.truth.IterableSubject.hasSize(IterableSubject.java:88) at com.google.javascript.jscomp.NormalizeTest.testPropertyIsConstant1(NormalizeTest.java:421)
| 0.001 |
| NormalizeTest | testPropertyIsConstant2 | Error | Not true that <[NAME b 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], STRING CONST 1 [is_constant_name: 1] [source_file: testcode], STRING_KEY CONST 1 [is_constant_name: 1] [source_file: testcode]]> has a size of <2>. It is <5>
java.lang.AssertionError: Not true that <[NAME b 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], STRING CONST 1 [is_constant_name: 1] [source_file: testcode], STRING_KEY CONST 1 [is_constant_name: 1] [source_file: testcode]]> has a size of <2>. It is <5> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.failWithBadResults(Subject.java:268) at com.google.common.truth.IterableSubject.hasSize(IterableSubject.java:88) at com.google.javascript.jscomp.NormalizeTest.testPropertyIsConstant2(NormalizeTest.java:432)
| 0.002 |
| NormalizeTest | testGetterPropertyIsConstant | Error | Not true that <[GETTER_DEF CONST 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], STRING CONST 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], NAME 1 [is_constant_name: 1], NAME b 1 [is_constant_name: 1] [source_file: testcode]]> has a size of <2>. It is <6>
java.lang.AssertionError: Not true that <[GETTER_DEF CONST 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], STRING CONST 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], NAME 1 [is_constant_name: 1], NAME b 1 [is_constant_name: 1] [source_file: testcode]]> has a size of <2>. It is <6> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.failWithBadResults(Subject.java:268) at com.google.common.truth.IterableSubject.hasSize(IterableSubject.java:88) at com.google.javascript.jscomp.NormalizeTest.testGetterPropertyIsConstant(NormalizeTest.java:444)
| 0.002 |
| NormalizeTest | testSetterPropertyIsConstant | Error | Not true that <[SETTER_DEF CONST 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], NAME c 1 [is_constant_name: 1] [source_file: testcode], NAME b 1 [is_constant_name: 1] [source_file: testcode], STRING CONST 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], NAME 1 [is_constant_name: 1]]> has a size of <2>. It is <7>
java.lang.AssertionError: Not true that <[SETTER_DEF CONST 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], NAME c 1 [is_constant_name: 1] [source_file: testcode], NAME b 1 [is_constant_name: 1] [source_file: testcode], STRING CONST 1 [is_constant_name: 1] [source_file: testcode], NAME a 1 [is_constant_name: 1] [source_file: testcode], NAME 1 [is_constant_name: 1]]> has a size of <2>. It is <7> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.failWithBadResults(Subject.java:268) at com.google.common.truth.IterableSubject.hasSize(IterableSubject.java:88) at com.google.javascript.jscomp.NormalizeTest.testSetterPropertyIsConstant(NormalizeTest.java:457)
| 0.001 |
| NormalizeTest | testExposeSimple | Success | | 0.002 |
| NormalizeTest | testExposeComplex | Success | | 0.002 |
| NormalizeTest | testRenamingConstantProperties | Success | | 0.008 |
| ObjectPropertyStringPostprocessTest | testFooBar | Success | | 0.001 |
| ObjectPropertyStringPostprocessTest | testFooGetElemBar | Success | | 0.000 |
| ObjectPropertyStringPostprocessTest | testFooDotBar | Success | | 0.000 |
| ObjectPropertyStringPreprocessTest | testFooBar | Success | | 0.001 |
| ObjectPropertyStringPreprocessTest | testInvalidNumArgumentsError | Success | | 0.001 |
| ObjectPropertyStringPreprocessTest | testQualifedNameExpectedError | Success | | 0.001 |
| ObjectPropertyStringPreprocessTest | testStringLiteralExpectedError | Success | | 0.000 |
| ObjectPropertyStringPreprocessTest | testDeclaration | Success | | 0.000 |
| ObjectPropertyStringPreprocessTest | testFooPrototypeBar | Success | | 0.000 |
| OptimizeArgumentsArrayTest | testInnerFunctions | Success | | 0.003 |
| OptimizeArgumentsArrayTest | testSimple | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testNoVarArgs | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testMissingVarArgs | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testArgumentRefOnNamedParameter | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testTwoVarArgs | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testTwoFourArgsTwoUsed | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testOneRequired | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testTwoRequiredSixthVarArgReferenced | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testTwoRequiredOneOptionalFifthVarArgReferenced | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testTwoRequiredTwoOptionalSixthVarArgReferenced | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testInnerFunctionsWithNamedArgumentInInnerFunction | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testInnerFunctionsWithNamedArgumentInOutterFunction | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testInnerFunctionsWithNamedArgumentInInnerAndOutterFunction | Success | | 0.001 |
| OptimizeArgumentsArrayTest | testInnerFunctionsAfterArguments | Success | | 0.000 |
| OptimizeArgumentsArrayTest | testNoOptimizationWhenGetProp | Success | | 0.000 |
| OptimizeArgumentsArrayTest | testNoOptimizationWhenIndexIsNotNumberConstant | Success | | 0.002 |
| OptimizeArgumentsArrayTest | testNoOptimizationWhenArgumentIsUsedAsFunctionCall | Success | | 0.000 |
| OptimizeArgumentsArrayTest | testUnusualArgumentsUsage | Success | | 0.001 |
| OptimizeCallsTest | testRemovingReturnCallToFunctionWithUnusedParams | Success | | 0.003 |
| OptimizeCallsTest | testNestingFunctionCallWithUnsedParams | Success | | 0.001 |
| OptimizeCallsTest | testUnusedAssignOnFunctionWithUnusedParams | Success | | 0.002 |
| OptimizeParametersTest | testGlobalCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode] NAME e 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.OptimizeParametersTest.testGlobalCatch(OptimizeParametersTest.java:590)
| 0.001 |
| OptimizeParametersTest | testNoRemoval | Success | | 0.001 |
| OptimizeParametersTest | testSimpleRemoval | Success | | 0.002 |
| OptimizeParametersTest | testNotAFunction | Success | | 0.001 |
| OptimizeParametersTest | testRemoveOneOptionalNamedFunction | Success | | 0.000 |
| OptimizeParametersTest | testDifferentScopes | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a is not annotated as constant.
Node(NAME a): testcode:1:22
function f(a, b) {} f(1, 2); f(1, 3); function h() {function g(a) {} g(4); g(5);} f(1, 2);
Parent(VAR): testcode:1:22
function f(a, b) {} f(1, 2); f(1, 3); function h() {function g(a) {} g(4); g(5);} f(1, 2);
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a is not annotated as constant. Node(NAME a): testcode:1:22 function f(a, b) {} f(1, 2); f(1, 3); function h() {function g(a) {} g(4); g(5);} f(1, 2); Parent(VAR): testcode:1:22 function f(a, b) {} f(1, 2); f(1, 3); function h() {function g(a) {} g(4); g(5);} f(1, 2);
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testDifferentScopes(OptimizeParametersTest.java:60) Caused by: java.lang.IllegalStateException: The name a is not annotated as constant.
| 0.001 |
| OptimizeParametersTest | testOptimizeOnlyImmutableValues | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a is not annotated as constant.
Node(NAME a): testcode:1:24
function foo(a) {}; foo(undefined);
Parent(VAR): testcode:1:24
function foo(a) {}; foo(undefined);
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a is not annotated as constant. Node(NAME a): testcode:1:24 function foo(a) {}; foo(undefined); Parent(VAR): testcode:1:24 function foo(a) {}; foo(undefined);
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testOptimizeOnlyImmutableValues(OptimizeParametersTest.java:67) Caused by: java.lang.IllegalStateException: The name a is not annotated as constant.
| 0.001 |
| OptimizeParametersTest | testRemoveOneOptionalVarAssignment | Success | | 0.001 |
| OptimizeParametersTest | testDoOptimizeCall | Success | | 0.006 |
| OptimizeParametersTest | testDoOptimizeApply | Success | | 0.007 |
| OptimizeParametersTest | testRemoveOneOptionalExpressionAssign | Success | | 0.001 |
| OptimizeParametersTest | testRemoveOneOptionalOneRequired | Success | | 0.001 |
| OptimizeParametersTest | testRemoveOneOptionalMultipleCalls | Success | | 0.001 |
| OptimizeParametersTest | testRemoveOneOptionalMultiplePossibleDefinition | Success | | 0.002 |
| OptimizeParametersTest | testRemoveTwoOptionalMultiplePossibleDefinition | Success | | 0.001 |
| OptimizeParametersTest | testConstructorOptArgsNotRemoved | Success | | 0.002 |
| OptimizeParametersTest | testMultipleUnknown | Success | | 0.002 |
| OptimizeParametersTest | testSingleUnknown | Success | | 0.001 |
| OptimizeParametersTest | testRemoveVarArg | Success | | 0.001 |
| OptimizeParametersTest | testAliasMethodsDontGetOptimize | Success | | 0.001 |
| OptimizeParametersTest | testAliasMethodsDontGetOptimize2 | Success | | 0.001 |
| OptimizeParametersTest | testAliasMethodsDontGetOptimize3 | Success | | 0.001 |
| OptimizeParametersTest | testAliasMethodsDontGetOptimize4 | Success | | 0.001 |
| OptimizeParametersTest | testMethodsDefinedInArraysDontGetOptimized | Success | | 0.001 |
| OptimizeParametersTest | testMethodsDefinedInObjectDontGetOptimized | Success | | 0.001 |
| OptimizeParametersTest | testRemoveConstantArgument | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name b is not annotated as constant.
Node(NAME b): testcode:1:30
function foo(a,b,c){}; foo(1, 2, 3); foo(1, 2, 4); foo(2, 2, 3)
Parent(VAR): testcode:1:30
function foo(a,b,c){}; foo(1, 2, 3); foo(1, 2, 4); foo(2, 2, 3)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name b is not annotated as constant. Node(NAME b): testcode:1:30 function foo(a,b,c){}; foo(1, 2, 3); foo(1, 2, 4); foo(2, 2, 3) Parent(VAR): testcode:1:30 function foo(a,b,c){}; foo(1, 2, 3); foo(1, 2, 4); foo(2, 2, 3)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testRemoveConstantArgument(OptimizeParametersTest.java:270) Caused by: java.lang.IllegalStateException: The name b is not annotated as constant.
| 0.002 |
| OptimizeParametersTest | testCanDeleteArgumentsAtAnyPosition | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name b is not annotated as constant.
Node(NAME b): testcode:1:33
function foo(a,b,c,d,e) {};foo(1,2,3,4,5);foo(2,2,4,4,5);
Parent(VAR): testcode:1:33
function foo(a,b,c,d,e) {};foo(1,2,3,4,5);foo(2,2,4,4,5);
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name b is not annotated as constant. Node(NAME b): testcode:1:33 function foo(a,b,c,d,e) {};foo(1,2,3,4,5);foo(2,2,4,4,5); Parent(VAR): testcode:1:33 function foo(a,b,c,d,e) {};foo(1,2,3,4,5);foo(2,2,4,4,5);
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testCanDeleteArgumentsAtAnyPosition(OptimizeParametersTest.java:300) Caused by: java.lang.IllegalStateException: The name b is not annotated as constant.
| 0.001 |
| OptimizeParametersTest | testNoOptimizationForExternsFunctions | Success | | 0.001 |
| OptimizeParametersTest | testNoOptimizationForGoogExportSymbol | Success | | 0.001 |
| OptimizeParametersTest | testNoArgumentRemovalNonEqualNodes | Success | | 0.003 |
| OptimizeParametersTest | testFunctionPassedAsParam | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name b is not annotated as constant.
Node(NAME b): testcode:1:176
/** @constructor */ function person(){}; person.prototype.run = function(a, b) {};person.prototype.walk = function() {};person.prototype.foo = function() { this.run(this.walk, 0.1)};person.foo();
Parent(VAR): testcode:1:176
/** @constructor */ function person(){}; person.prototype.run = function(a, b) {};person.prototype.walk = function() {};person.prototype.foo = function() { this.run(this.walk, 0.1)};person.foo();
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name b is not annotated as constant. Node(NAME b): testcode:1:176 /** @constructor */ function person(){}; person.prototype.run = function(a, b) {};person.prototype.walk = function() {};person.prototype.foo = function() { this.run(this.walk, 0.1)};person.foo(); Parent(VAR): testcode:1:176 /** @constructor */ function person(){}; person.prototype.run = function(a, b) {};person.prototype.walk = function() {};person.prototype.foo = function() { this.run(this.walk, 0.1)};person.foo();
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testFunctionPassedAsParam(OptimizeParametersTest.java:334) Caused by: java.lang.IllegalStateException: The name b is not annotated as constant.
| 0.001 |
| OptimizeParametersTest | testCallIsIgnore | Success | | 0.001 |
| OptimizeParametersTest | testApplyIsIgnore | Success | | 0.000 |
| OptimizeParametersTest | testFunctionWithReferenceToArgumentsShouldNotBeOptimize | Success | | 0.001 |
| OptimizeParametersTest | testFunctionWithTwoNames | Success | | 0.006 |
| OptimizeParametersTest | testRecursion | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a is not annotated as constant.
Node(NAME a): testcode:1:30
var foo = function (a,b) {foo(1, b)}; foo(1, 2)
Parent(VAR): testcode:1:30
var foo = function (a,b) {foo(1, b)}; foo(1, 2)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a is not annotated as constant. Node(NAME a): testcode:1:30 var foo = function (a,b) {foo(1, b)}; foo(1, 2) Parent(VAR): testcode:1:30 var foo = function (a,b) {foo(1, b)}; foo(1, 2)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testRecursion(OptimizeParametersTest.java:370) Caused by: java.lang.IllegalStateException: The name a is not annotated as constant.
| 0.001 |
| OptimizeParametersTest | testConstantArgumentsToConstructorCanBeOptimized | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a is not annotated as constant.
Node(NAME a): testcode:1:37
function foo(a) {};var bar = new foo(1);
Parent(VAR): testcode:1:37
function foo(a) {};var bar = new foo(1);
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a is not annotated as constant. Node(NAME a): testcode:1:37 function foo(a) {};var bar = new foo(1); Parent(VAR): testcode:1:37 function foo(a) {};var bar = new foo(1);
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testConstantArgumentsToConstructorCanBeOptimized(OptimizeParametersTest.java:379) Caused by: java.lang.IllegalStateException: The name a is not annotated as constant.
| 0.001 |
| OptimizeParametersTest | testOptionalArgumentsToConstructorCanBeOptimized | Success | | 0.001 |
| OptimizeParametersTest | testRegexesCanBeInlined | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a is not annotated as constant.
Node(NAME a): testcode:1:24
function foo(a) {}; foo(/abc/);
Parent(VAR): testcode:1:24
function foo(a) {}; foo(/abc/);
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a is not annotated as constant. Node(NAME a): testcode:1:24 function foo(a) {}; foo(/abc/); Parent(VAR): testcode:1:24 function foo(a) {}; foo(/abc/);
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testRegexesCanBeInlined(OptimizeParametersTest.java:391) Caused by: java.lang.IllegalStateException: The name a is not annotated as constant.
| 0.001 |
| OptimizeParametersTest | testConstructorUsedAsFunctionCanBeOptimized | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a is not annotated as constant.
Node(NAME a): testcode:1:37
function foo(a) {};var bar = new foo(1);foo(1);
Parent(VAR): testcode:1:37
function foo(a) {};var bar = new foo(1);foo(1);
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a is not annotated as constant. Node(NAME a): testcode:1:37 function foo(a) {};var bar = new foo(1);foo(1); Parent(VAR): testcode:1:37 function foo(a) {};var bar = new foo(1);foo(1);
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testConstructorUsedAsFunctionCanBeOptimized(OptimizeParametersTest.java:402) Caused by: java.lang.IllegalStateException: The name a is not annotated as constant.
| 0.001 |
| OptimizeParametersTest | testDoNotOptimizeConstructorWhenArgumentsAreNotEqual | Success | | 0.001 |
| OptimizeParametersTest | testDoNotOptimizeArrayElements | Success | | 0.003 |
| OptimizeParametersTest | testOptimizeThis | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a is not annotated as constant.
Node(NAME a): testcode:1:91
function foo() {var bar = function (a, b) {};this.bar = function (a, b) {};this.bar(3);bar(2);}
Parent(VAR): testcode:1:91
function foo() {var bar = function (a, b) {};this.bar = function (a, b) {};this.bar(3);bar(2);}
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a is not annotated as constant. Node(NAME a): testcode:1:91 function foo() {var bar = function (a, b) {};this.bar = function (a, b) {};this.bar(3);bar(2);} Parent(VAR): testcode:1:91 function foo() {var bar = function (a, b) {};this.bar = function (a, b) {};this.bar(3);bar(2);}
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testOptimizeThis(OptimizeParametersTest.java:435) Caused by: java.lang.IllegalStateException: The name a is not annotated as constant.
| 0.001 |
| OptimizeParametersTest | testDoNotOptimizeWhenArgumentsPassedAsParameter | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name b is not annotated as constant.
Node(NAME b): testcode:1:38
function foo(a, b) {}; foo(arguments, 1)
Parent(VAR): testcode:1:38
function foo(a, b) {}; foo(arguments, 1)
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name b is not annotated as constant. Node(NAME b): testcode:1:38 function foo(a, b) {}; foo(arguments, 1) Parent(VAR): testcode:1:38 function foo(a, b) {}; foo(arguments, 1)
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testDoNotOptimizeWhenArgumentsPassedAsParameter(OptimizeParametersTest.java:442) Caused by: java.lang.IllegalStateException: The name b is not annotated as constant.
| 0.002 |
| OptimizeParametersTest | testDoNotOptimizeGoogExportFunctions | Success | | 0.001 |
| OptimizeParametersTest | testDoNotOptimizeJSCompiler_renameProperty | Success | | 0.000 |
| OptimizeParametersTest | testDoNotOptimizeJSCompiler_ObjectPropertyString | Success | | 0.000 |
| OptimizeParametersTest | testMutableValues1 | Success | | 0.009 |
| OptimizeParametersTest | testMutableValues2 | Success | | 0.002 |
| OptimizeParametersTest | testMutableValues3 | Success | | 0.001 |
| OptimizeParametersTest | testMutableValues4 | Failure |
Expected: var x;var y;var z;function foo(p1,p2,p3){}foo(x,y(),z());foo(x,y(),3)
Result: var x;var y;var z;function foo(p2,p3){var p1=x}foo(y(),z());foo(y(),3)
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
FUNCTION foo 1 [source_file: expected0]
NAME foo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
NAME p1 1 [source_file: expected0]
NAME p2 1 [source_file: expected0]
NAME p3 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME foo 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME foo 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 3.0 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode]
FUNCTION foo 1 [source_file: testcode]
NAME foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
NAME p2 1 [source_file: testcode]
NAME p3 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME p1 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 3.0 1 [source_file: testcode]
Subtree1: PARAM_LIST 1 [source_file: expected0]
NAME p1 1 [source_file: expected0]
NAME p2 1 [source_file: expected0]
NAME p3 1 [source_file: expected0]
Subtree2: PARAM_LIST 1 [source_file: testcode]
NAME p2 1 [source_file: testcode]
NAME p3 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var x;var y;var z;function foo(p1,p2,p3){}foo(x,y(),z());foo(x,y(),3) Result: var x;var y;var z;function foo(p2,p3){var p1=x}foo(y(),z());foo(y(),3) Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] FUNCTION foo 1 [source_file: expected0] NAME foo 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] NAME p1 1 [source_file: expected0] NAME p2 1 [source_file: expected0] NAME p3 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME foo 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME foo 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] NUMBER 3.0 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] FUNCTION foo 1 [source_file: testcode] NAME foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] NAME p2 1 [source_file: testcode] NAME p3 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME p1 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] NUMBER 3.0 1 [source_file: testcode]
Subtree1: PARAM_LIST 1 [source_file: expected0] NAME p1 1 [source_file: expected0] NAME p2 1 [source_file: expected0] NAME p3 1 [source_file: expected0]
Subtree2: PARAM_LIST 1 [source_file: testcode] NAME p2 1 [source_file: testcode] NAME p3 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.OptimizeParametersTest.testMutableValues4(OptimizeParametersTest.java:515)
| 0.002 |
| OptimizeParametersTest | testMutableValues5 | Failure |
Expected: var x;var y;var z;function foo(p1,p2,p3){}new foo(x,y(),z());new foo(x,y(),3)
Result: var x;var y;var z;function foo(p2,p3){var p1=x}new foo(y(),z());new foo(y(),3)
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
VAR 1 [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
FUNCTION foo 1 [source_file: expected0]
NAME foo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
NAME p1 1 [source_file: expected0]
NAME p2 1 [source_file: expected0]
NAME p3 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME foo 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME z 1 [is_constant_name: 1] [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME foo 1 [source_file: expected0]
NAME x 1 [is_constant_name: 1] [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME y 1 [is_constant_name: 1] [source_file: expected0]
NUMBER 3.0 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode]
VAR 1 [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode]
FUNCTION foo 1 [source_file: testcode]
NAME foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
NAME p2 1 [source_file: testcode]
NAME p3 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME p1 1 [source_file: testcode]
NAME x 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME foo 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME z 1 [is_constant_name: 1] [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME foo 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME y 1 [is_constant_name: 1] [source_file: testcode]
NUMBER 3.0 1 [source_file: testcode]
Subtree1: PARAM_LIST 1 [source_file: expected0]
NAME p1 1 [source_file: expected0]
NAME p2 1 [source_file: expected0]
NAME p3 1 [source_file: expected0]
Subtree2: PARAM_LIST 1 [source_file: testcode]
NAME p2 1 [source_file: testcode]
NAME p3 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var x;var y;var z;function foo(p1,p2,p3){}new foo(x,y(),z());new foo(x,y(),3) Result: var x;var y;var z;function foo(p2,p3){var p1=x}new foo(y(),z());new foo(y(),3) Node tree inequality: Tree1: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] VAR 1 [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] FUNCTION foo 1 [source_file: expected0] NAME foo 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] NAME p1 1 [source_file: expected0] NAME p2 1 [source_file: expected0] NAME p3 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME foo 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME z 1 [is_constant_name: 1] [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME foo 1 [source_file: expected0] NAME x 1 [is_constant_name: 1] [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME y 1 [is_constant_name: 1] [source_file: expected0] NUMBER 3.0 1 [source_file: expected0]
Tree2: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] VAR 1 [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] FUNCTION foo 1 [source_file: testcode] NAME foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] NAME p2 1 [source_file: testcode] NAME p3 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME p1 1 [source_file: testcode] NAME x 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME foo 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME z 1 [is_constant_name: 1] [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME foo 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME y 1 [is_constant_name: 1] [source_file: testcode] NUMBER 3.0 1 [source_file: testcode]
Subtree1: PARAM_LIST 1 [source_file: expected0] NAME p1 1 [source_file: expected0] NAME p2 1 [source_file: expected0] NAME p3 1 [source_file: expected0]
Subtree2: PARAM_LIST 1 [source_file: testcode] NAME p2 1 [source_file: testcode] NAME p3 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.OptimizeParametersTest.testMutableValues5(OptimizeParametersTest.java:553)
| 0.003 |
| OptimizeParametersTest | testShadows | Success | | 0.000 |
| OptimizeParametersTest | testCrash | Error | INTERNAL COMPILER ERROR.
Please report this problem.
The name a is not annotated as constant.
Node(NAME a): testcode:1:22
function foo(a) {}foo({o:1});foo({o:1})
Parent(VAR): testcode:1:22
function foo(a) {}foo({o:1});foo({o:1})
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
The name a is not annotated as constant. Node(NAME a): testcode:1:22 function foo(a) {}foo({o:1});foo({o:1}) Parent(VAR): testcode:1:22 function foo(a) {}foo({o:1});foo({o:1})
at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.javascript.jscomp.Normalize$VerifyConstants.visit(Normalize.java:321) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:610) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:538) at com.google.javascript.jscomp.Normalize$VerifyConstants.process(Normalize.java:284) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1063) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.OptimizeParametersTest.testCrash(OptimizeParametersTest.java:580) Caused by: java.lang.IllegalStateException: The name a is not annotated as constant.
| 0.000 |
| OptimizeParametersTest | testNamelessParameter1 | Success | | 0.000 |
| OptimizeParametersTest | testNamelessParameter2 | Success | | 0.002 |
| OptimizeReturnsTest | testRewriteUnusedResult1 | Success | | 0.001 |
| OptimizeReturnsTest | testRewriteUnusedResult2 | Success | | 0.001 |
| OptimizeReturnsTest | testRewriteUnusedResult3 | Success | | 0.001 |
| OptimizeReturnsTest | testRewriteUnusedResult4a | Success | | 0.001 |
| OptimizeReturnsTest | testRewriteUnusedResult4b | Success | | 0.002 |
| OptimizeReturnsTest | testRewriteUnusedResult4c | Success | | 0.001 |
| OptimizeReturnsTest | testRewriteUnusedResult5 | Success | | 0.001 |
| OptimizeReturnsTest | testRewriteUnusedResult6 | Success | | 0.001 |
| OptimizeReturnsTest | testRewriteUnusedResult7a | Success | | 0.001 |
| OptimizeReturnsTest | testRewriteUnusedResult7b | Success | | 0.002 |
| OptimizeReturnsTest | testRewriteUnusedResult8 | Success | | 0.001 |
| OptimizeReturnsTest | testNoRewriteObjLit1 | Success | | 0.001 |
| OptimizeReturnsTest | testNoRewriteObjLit2 | Success | | 0.000 |
| OptimizeReturnsTest | testNoRewriteUsedResult2 | Success | | 0.001 |
| OptimizeReturnsTest | testNoRewriteUsedResult1 | Success | | 0.001 |
| OptimizeReturnsTest | testNoRewriteArrLit | Success | | 0.001 |
| OptimizeReturnsTest | testPrototypeMethod1 | Success | | 0.000 |
| OptimizeReturnsTest | testPrototypeMethod2 | Success | | 0.000 |
| OptimizeReturnsTest | testPrototypeMethod3 | Success | | 0.000 |
| OptimizeReturnsTest | testPrototypeMethod4 | Success | | 0.001 |
| OptimizeReturnsTest | testCallOrApply | Success | | 0.001 |
| OptimizeReturnsTest | testRewriteUseSiteRemoval | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testArrayOptimization2 | Success | | 0.003 |
| PeepholeCollectPropertyAssignmentsTest | testArrayOptimization3 | Success | | 0.002 |
| PeepholeCollectPropertyAssignmentsTest | testCompoundAssignment | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testArrayOptimization1 | Success | | 0.000 |
| PeepholeCollectPropertyAssignmentsTest | testNegativeArrayIndex1 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testNegativeArrayIndex2 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testFractionalArrayIndex1 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testFractionalArrayIndex2 | Success | | 0.000 |
| PeepholeCollectPropertyAssignmentsTest | testArrayOptimizationOfPartiallyBuiltArray1 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testArrayOptimizationOfPartiallyBuiltArray2 | Success | | 0.000 |
| PeepholeCollectPropertyAssignmentsTest | testArrayOptimizationWithAHole1 | Success | | 0.000 |
| PeepholeCollectPropertyAssignmentsTest | testArrayOptimizationWithAHole2 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testEarlyUsage1 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testEarlyUsage2 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testArrayTooSparseOptimization1 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testArrayTooSparseOptimization2 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testArrayOutOfOrder | Success | | 0.002 |
| PeepholeCollectPropertyAssignmentsTest | testMultipleNames1 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testMultipleNames2 | Success | | 0.000 |
| PeepholeCollectPropertyAssignmentsTest | testArrayReassignedInValue1 | Success | | 0.000 |
| PeepholeCollectPropertyAssignmentsTest | testArrayReassignedInValue2 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testArrayReassignedInSubsequentVar1 | Success | | 0.000 |
| PeepholeCollectPropertyAssignmentsTest | testArrayReassignedInSubsequentVar2 | Success | | 0.000 |
| PeepholeCollectPropertyAssignmentsTest | testForwardReference1 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testForwardReference2 | Success | | 0.000 |
| PeepholeCollectPropertyAssignmentsTest | testObjectOptimization1 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectOptimization2 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectReassignedInValue1 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectReassignedInValue2 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectFunctionRollup1 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectFunctionRollup2 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectFunctionRollup3 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectFunctionRollup4 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectFunctionRollup5 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectPropertyReassigned | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectPropertyReassigned2 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectPropertyReassigned3 | Success | | 0.001 |
| PeepholeCollectPropertyAssignmentsTest | testObjectPropertyReassigned4 | Success | | 0.001 |
| PeepholeFoldConstantsTest | testArrayLiteral | Success | | 0.002 |
| PeepholeFoldConstantsTest | testIssue601 | Success | | 0.002 |
| PeepholeFoldConstantsTest | testObjectLiteral | Success | | 0.003 |
| PeepholeFoldConstantsTest | testUndefinedComparison1 | Success | | 0.038 |
| PeepholeFoldConstantsTest | testNullComparison1 | Success | | 0.040 |
| PeepholeFoldConstantsTest | testUndefinedComparison2 | Success | | 0.002 |
| PeepholeFoldConstantsTest | testUndefinedComparison3 | Success | | 0.002 |
| PeepholeFoldConstantsTest | testUndefinedComparison4 | Success | | 0.003 |
| PeepholeFoldConstantsTest | testUnaryOps | Success | | 0.015 |
| PeepholeFoldConstantsTest | testUnaryOpsStringCompare | Success | | 0.002 |
| PeepholeFoldConstantsTest | testFoldLogicalOp | Success | | 0.014 |
| PeepholeFoldConstantsTest | testFoldBitwiseOp | Success | | 0.014 |
| PeepholeFoldConstantsTest | testFoldBitwiseOp2 | Success | | 0.012 |
| PeepholeFoldConstantsTest | testFoldingMixTypesLate | Success | | 0.007 |
| PeepholeFoldConstantsTest | testFoldingMixTypesEarly | Success | | 0.007 |
| PeepholeFoldConstantsTest | testFoldingAdd | Success | | 0.001 |
| PeepholeFoldConstantsTest | testFoldBitwiseOpStringCompare | Success | | 0.001 |
| PeepholeFoldConstantsTest | testFoldBitShifts | Success | | 0.018 |
| PeepholeFoldConstantsTest | testFoldBitShiftsStringCompare | Success | | 0.003 |
| PeepholeFoldConstantsTest | testStringAdd | Success | | 0.007 |
| PeepholeFoldConstantsTest | testIssue821 | Success | | 0.001 |
| PeepholeFoldConstantsTest | testFoldConstructor | Success | | 0.005 |
| PeepholeFoldConstantsTest | testFoldArithmetic | Success | | 0.005 |
| PeepholeFoldConstantsTest | testFoldArithmetic2 | Success | | 0.004 |
| PeepholeFoldConstantsTest | testFoldArithmetic3 | Success | | 0.002 |
| PeepholeFoldConstantsTest | testFoldArithmeticInfinity | Success | | 0.002 |
| PeepholeFoldConstantsTest | testFoldArithmeticStringComp | Success | | 0.001 |
| PeepholeFoldConstantsTest | testFoldComparison | Success | | 0.022 |
| PeepholeFoldConstantsTest | testFoldComparison2 | Success | | 0.017 |
| PeepholeFoldConstantsTest | testFoldComparison3 | Success | | 0.012 |
| PeepholeFoldConstantsTest | testFoldGetElem | Success | | 0.005 |
| PeepholeFoldConstantsTest | testFoldComplex | Success | | 0.002 |
| PeepholeFoldConstantsTest | testFoldLeft | Success | | 0.001 |
| PeepholeFoldConstantsTest | testFoldArrayLength | Success | | 0.002 |
| PeepholeFoldConstantsTest | testFoldStringLength | Success | | 0.001 |
| PeepholeFoldConstantsTest | testFoldTypeof | Success | | 0.007 |
| PeepholeFoldConstantsTest | testFoldInstanceOf | Success | | 0.007 |
| PeepholeFoldConstantsTest | testDivision | Success | | 0.000 |
| PeepholeFoldConstantsTest | testAssignOpsLate | Success | | 0.006 |
| PeepholeFoldConstantsTest | testAssignOpsEarly | Success | | 0.005 |
| PeepholeFoldConstantsTest | testFoldAdd1 | Success | | 0.002 |
| PeepholeFoldConstantsTest | testFoldLiteralNames | Success | | 0.003 |
| PeepholeFoldConstantsTest | testFoldLiteralsTypeMismatches | Success | | 0.008 |
| PeepholeFoldConstantsTest | testFoldLeftChildConcat | Success | | 0.001 |
| PeepholeFoldConstantsTest | testFoldLeftChildOp | Success | | 0.007 |
| PeepholeFoldConstantsTest | testFoldSimpleArithmeticOp | Success | | 0.005 |
| PeepholeFoldConstantsTest | testFoldLiteralsAsNumbers | Success | | 0.002 |
| PeepholeFoldConstantsTest | testNotFoldBackToTrueFalse | Success | | 0.002 |
| PeepholeFoldConstantsTest | testFoldBangConstants | Success | | 0.002 |
| PeepholeFoldConstantsTest | testFoldMixed | Success | | 0.001 |
| PeepholeFoldConstantsTest | testFoldVoid | Success | | 0.001 |
| PeepholeFoldConstantsTest | testFoldObjectLiteralRef1 | Success | | 0.014 |
| PeepholeFoldConstantsTest | testFoldObjectLiteralRef2 | Success | | 0.001 |
| PeepholeFoldConstantsTest | testIEString | Success | | 0.001 |
| PeepholeFoldConstantsTest | testIssue522 | Success | | 0.001 |
| PeepholeFoldConstantsTest | testInvertibleOperators | Success | | 0.587 |
| PeepholeFoldConstantsTest | testCommutativeOperators | Success | | 0.637 |
| PeepholeFoldConstantsTest | testConvertToNumberNegativeInf | Success | | 0.001 |
| PeepholeIntegrationTest | testArrayLiteral | Success | | 0.004 |
| PeepholeIntegrationTest | testObjectLiteral | Success | | 0.004 |
| PeepholeIntegrationTest | testShortCircuit1 | Success | | 0.001 |
| PeepholeIntegrationTest | testShortCircuit2 | Success | | 0.001 |
| PeepholeIntegrationTest | testShortCircuit3 | Success | | 0.001 |
| PeepholeIntegrationTest | testShortCircuit4 | Success | | 0.004 |
| PeepholeIntegrationTest | testFoldOneChildBlocksIntegration | Success | | 0.009 |
| PeepholeIntegrationTest | testFoldOneChildBlocksStringCompare | Success | | 0.001 |
| PeepholeIntegrationTest | testTrueFalse | Success | | 0.004 |
| PeepholeIntegrationTest | testNecessaryDanglingElse | Success | | 0.001 |
| PeepholeIntegrationTest | testFoldReturnsIntegration | Success | | 0.001 |
| PeepholeIntegrationTest | testBug1059649 | Success | | 0.005 |
| PeepholeIntegrationTest | testHookIfIntegration | Success | | 0.004 |
| PeepholeIntegrationTest | testRemoveDuplicateStatementsIntegration | Success | | 0.003 |
| PeepholeIntegrationTest | testFoldLogicalOpIntegration | Success | | 0.005 |
| PeepholeIntegrationTest | testFoldBitwiseOpStringCompareIntegration | Success | | 0.001 |
| PeepholeIntegrationTest | testVarLiftingIntegration | Success | | 0.006 |
| PeepholeIntegrationTest | testBug1438784 | Success | | 0.001 |
| PeepholeIntegrationTest | testFoldUselessWhileIntegration | Success | | 0.003 |
| PeepholeIntegrationTest | testFoldUselessForIntegration | Success | | 0.003 |
| PeepholeIntegrationTest | testFoldUselessDoIntegration | Success | | 0.003 |
| PeepholeIntegrationTest | testMinimizeWhileConstantConditionIntegration | Success | | 0.005 |
| PeepholeIntegrationTest | testMinimizeExpr | Success | | 0.004 |
| PeepholeIntegrationTest | testBug1509085 | Success | | 0.001 |
| PeepholeIntegrationTest | testBugIssue3 | Success | | 0.001 |
| PeepholeIntegrationTest | testBugIssue43 | Success | | 0.001 |
| PeepholeIntegrationTest | testFoldNegativeBug | Success | | 0.001 |
| PeepholeIntegrationTest | testNoNormalizeLabeledExpr | Success | | 0.002 |
| PeepholeIntegrationTest | testMinimizeExprCondition | Success | | 0.005 |
| PeepholeIntegrationTest | testMisc | Success | | 0.002 |
| PeepholeIntegrationTest | testTrueFalseFolding | Success | | 0.005 |
| PeepholeIntegrationTest | testCommaSplitingConstantCondition | Success | | 0.002 |
| PeepholeIntegrationTest | testAvoidCommaSplitting | Success | | 0.002 |
| PeepholeIntegrationTest | testFoldIfs1 | Success | | 0.003 |
| PeepholeIntegrationTest | testFoldIfs2 | Success | | 0.002 |
| PeepholeIntegrationTest | testFoldHook2 | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testArrayLiteral | Success | | 0.003 |
| PeepholeMinimizeConditionsTest | testObjectLiteral | Success | | 0.003 |
| PeepholeMinimizeConditionsTest | testMinimizeHook | Success | | 0.003 |
| PeepholeMinimizeConditionsTest | testMinimizeComma | Success | | 0.002 |
| PeepholeMinimizeConditionsTest | testMinimizeExprCondition | Success | | 0.004 |
| PeepholeMinimizeConditionsTest | testFoldOneChildBlocks | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME bar 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME baz 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME bar 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME baz 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.PeepholeMinimizeConditionsTest.fold(PeepholeMinimizeConditionsTest.java:63) at com.google.javascript.jscomp.PeepholeMinimizeConditionsTest.testFoldOneChildBlocks(PeepholeMinimizeConditionsTest.java:112)
| 0.008 |
| PeepholeMinimizeConditionsTest | testFoldReturns | Success | | 0.006 |
| PeepholeMinimizeConditionsTest | testCombineIfs1 | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testCombineIfs2 | Success | | 0.002 |
| PeepholeMinimizeConditionsTest | testCombineIfs3 | Success | | 0.004 |
| PeepholeMinimizeConditionsTest | testFoldAssignments | Success | | 0.014 |
| PeepholeMinimizeConditionsTest | testRemoveDuplicateStatements | Success | | 0.009 |
| PeepholeMinimizeConditionsTest | testNotCond | Success | | 0.006 |
| PeepholeMinimizeConditionsTest | testAndParenthesesCount | Success | | 0.004 |
| PeepholeMinimizeConditionsTest | testFoldLogicalOpStringCompare | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testFoldNot | Success | | 0.010 |
| PeepholeMinimizeConditionsTest | testMinimizeWhileCondition | Success | | 0.009 |
| PeepholeMinimizeConditionsTest | testMinimizeDemorganRemoveLeadingNot | Success | | 0.004 |
| PeepholeMinimizeConditionsTest | testMinimizeDemorgan1 | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testMinimizeDemorgan3 | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testMinimizeDemorgan5 | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testMinimizeDemorgan11 | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testMinimizeDemorgan20 | Success | | 0.002 |
| PeepholeMinimizeConditionsTest | testPreserveIf | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testNoSwapWithDanglingElse | Success | | 0.002 |
| PeepholeMinimizeConditionsTest | testMinimizeExprResult | Success | | 0.003 |
| PeepholeMinimizeConditionsTest | testMinimizeDemorgan21 | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testMinimizeAndOr1 | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testMinimizeForCondition | Success | | 0.006 |
| PeepholeMinimizeConditionsTest | testMinimizeCondition_example1 | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testFoldLoopBreakLate | Success | | 0.008 |
| PeepholeMinimizeConditionsTest | testFoldLoopBreakEarly | Success | | 0.006 |
| PeepholeMinimizeConditionsTest | testFoldConditionalVarDeclaration | Success | | 0.004 |
| PeepholeMinimizeConditionsTest | testFoldIfWithLowerOperatorsInside | Success | | 0.002 |
| PeepholeMinimizeConditionsTest | testSubsituteReturn | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
WHILE 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME f 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] WHILE 1 [source_file: testcode] NAME x 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME f 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.PeepholeMinimizeConditionsTest.foldSame(PeepholeMinimizeConditionsTest.java:59) at com.google.javascript.jscomp.PeepholeMinimizeConditionsTest.testSubsituteReturn(PeepholeMinimizeConditionsTest.java:513)
| 0.010 |
| PeepholeMinimizeConditionsTest | testSubsituteBreakForThrow | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
WHILE 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME f 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] WHILE 1 [source_file: testcode] NAME x 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME f 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.PeepholeMinimizeConditionsTest.foldSame(PeepholeMinimizeConditionsTest.java:59) at com.google.javascript.jscomp.PeepholeMinimizeConditionsTest.testSubsituteBreakForThrow(PeepholeMinimizeConditionsTest.java:587)
| 0.009 |
| PeepholeMinimizeConditionsTest | testRemoveDuplicateReturn | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
NAME a 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] NAME x 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode] NAME a 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.PeepholeMinimizeConditionsTest.foldSame(PeepholeMinimizeConditionsTest.java:59) at com.google.javascript.jscomp.PeepholeMinimizeConditionsTest.testRemoveDuplicateReturn(PeepholeMinimizeConditionsTest.java:626)
| 0.002 |
| PeepholeMinimizeConditionsTest | testRemoveDuplicateThrow | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NAME a 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] NAME x 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NAME a 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.PeepholeMinimizeConditionsTest.foldSame(PeepholeMinimizeConditionsTest.java:59) at com.google.javascript.jscomp.PeepholeMinimizeConditionsTest.testRemoveDuplicateThrow(PeepholeMinimizeConditionsTest.java:652)
| 0.002 |
| PeepholeMinimizeConditionsTest | testNestedIfCombine | Success | | 0.003 |
| PeepholeMinimizeConditionsTest | testIssue291 | Success | | 0.003 |
| PeepholeMinimizeConditionsTest | testRemoveElseCause | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testRemoveElseCause1 | Success | | 0.001 |
| PeepholeMinimizeConditionsTest | testRemoveElseCause2 | Success | | 0.003 |
| PeepholeMinimizeConditionsTest | testRemoveElseCause3 | Success | | 0.004 |
| PeepholeMinimizeConditionsTest | testRemoveElseCause4 | Success | | 0.002 |
| PeepholeMinimizeConditionsTest | testIssue925 | Success | | 0.005 |
| PeepholeOptimizationsPassTest | testEmptyPass | Success | | 0.000 |
| PeepholeOptimizationsPassTest | testOptimizationOrder | Success | | 0.002 |
| PeepholeOptimizationsPassTest | testOptimizationRemovingSubtreeChild | Success | | 0.003 |
| PeepholeOptimizationsPassTest | testOptimizationRemovingSubtree | Success | | 0.002 |
| PeepholeOptimizationsPassTest | testOptimizationRemovingSubtreeParent | Success | | 0.001 |
| PeepholeOptimizationsPassTest | testOptimizationsRemoveParentAfterRemoveChild | Success | | 0.000 |
| PeepholeOptimizationsPassTest | testOptimizationReplacingNode | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testHook | Success | | 0.030 |
| PeepholeRemoveDeadCodeTest | testArrayLiteral | Success | | 0.004 |
| PeepholeRemoveDeadCodeTest | testObjectLiteral | Success | | 0.004 |
| PeepholeRemoveDeadCodeTest | testTryCatchFinally | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME bar 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME bar 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.PeepholeRemoveDeadCodeTest.testTryCatchFinally(PeepholeRemoveDeadCodeTest.java:743)
| 0.001 |
| PeepholeRemoveDeadCodeTest | testIf | Success | | 0.009 |
| PeepholeRemoveDeadCodeTest | testCall1 | Success | | 0.004 |
| PeepholeRemoveDeadCodeTest | testCall2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testShortCircuit1 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testShortCircuit2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testShortCircuit3 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testShortCircuit4 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testFoldBlock | Success | | 0.019 |
| PeepholeRemoveDeadCodeTest | testVarLifting | Success | | 0.003 |
| PeepholeRemoveDeadCodeTest | testFoldBlocksWithManyChildren | Success | | 0.004 |
| PeepholeRemoveDeadCodeTest | testConstantConditionWithSideEffect1 | Success | | 0.016 |
| PeepholeRemoveDeadCodeTest | testConstantConditionWithSideEffect2 | Success | | 0.009 |
| PeepholeRemoveDeadCodeTest | testFoldUselessWhile | Success | | 0.007 |
| PeepholeRemoveDeadCodeTest | testFoldUselessFor | Success | | 0.008 |
| PeepholeRemoveDeadCodeTest | testFoldUselessDo | Success | | 0.009 |
| PeepholeRemoveDeadCodeTest | testFoldEmptyDo | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testMinimizeWhileConstantCondition | Success | | 0.005 |
| PeepholeRemoveDeadCodeTest | testFoldConstantCommaExpressions | Success | | 0.005 |
| PeepholeRemoveDeadCodeTest | testRemoveUselessOps | Success | | 0.024 |
| PeepholeRemoveDeadCodeTest | testOptimizeSwitch | Success | | 0.033 |
| PeepholeRemoveDeadCodeTest | testOptimizeSwitchBug11536863 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testOptimizeSwitch2 | Success | | 0.002 |
| PeepholeRemoveDeadCodeTest | testRemoveNumber | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testRemoveVarGet1 | Success | | 0.002 |
| PeepholeRemoveDeadCodeTest | testRemoveVarGet2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testRemoveNamespaceGet1 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testRemoveNamespaceGet2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testRemovePrototypeGet1 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testRemovePrototypeGet2 | Success | | 0.002 |
| PeepholeRemoveDeadCodeTest | testRemoveAdd1 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveVar1 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveVar2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveAssign1 | Success | | 0.000 |
| PeepholeRemoveDeadCodeTest | testNoRemoveAssign2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveAssign3 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveAssign4 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveAssign5 | Success | | 0.000 |
| PeepholeRemoveDeadCodeTest | testNoRemoveAssign6 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveCall1 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveCall2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveCall3 | Success | | 0.000 |
| PeepholeRemoveDeadCodeTest | testNoRemoveCall4 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveCall5 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveCall6 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveThrow1 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveThrow2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveThrow3 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testRemoveInControlStructure1 | Success | | 0.002 |
| PeepholeRemoveDeadCodeTest | testRemoveInControlStructure2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testRemoveInControlStructure3 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testHook1 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testHook2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testHook3 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testHook4 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testHook5 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testHook6 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testHook7 | Success | | 0.002 |
| PeepholeRemoveDeadCodeTest | testHook8 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testComplex1 | Success | | 0.002 |
| PeepholeRemoveDeadCodeTest | testComplex2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testComplex3 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testComplex4 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testComplex5 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveFunctionDeclaration1 | Success | | 0.002 |
| PeepholeRemoveDeadCodeTest | testNoRemoveFunctionDeclaration2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoSimplifyFunctionArgs1 | Success | | 0.002 |
| PeepholeRemoveDeadCodeTest | testNoSimplifyFunctionArgs2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoSimplifyFunctionArgs3 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveInherits1 | Success | | 0.002 |
| PeepholeRemoveDeadCodeTest | testNoRemoveInherits2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveInherits3 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNoRemoveInherits4 | Success | | 0.002 |
| PeepholeRemoveDeadCodeTest | testRemoveFromLabel1 | Success | | 0.002 |
| PeepholeRemoveDeadCodeTest | testRemoveFromLabel2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNew1 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testNew2 | Success | | 0.001 |
| PeepholeRemoveDeadCodeTest | testFoldAssign | Success | | 0.005 |
| PeepholeReplaceKnownMethodsTest | testStringIndexOf | Success | | 0.017 |
| PeepholeReplaceKnownMethodsTest | testStringJoinAddSparse | Success | | 0.002 |
| PeepholeReplaceKnownMethodsTest | testNoStringJoin | Success | | 0.002 |
| PeepholeReplaceKnownMethodsTest | testStringJoinAdd | Success | | 0.023 |
| PeepholeReplaceKnownMethodsTest | testStringJoinAdd_b1992789 | Success | | 0.002 |
| PeepholeReplaceKnownMethodsTest | testFoldStringSubstr | Success | | 0.007 |
| PeepholeReplaceKnownMethodsTest | testFoldStringSubstring | Success | | 0.007 |
| PeepholeReplaceKnownMethodsTest | testFoldStringCharAt | Success | | 0.015 |
| PeepholeReplaceKnownMethodsTest | testFoldStringCharCodeAt | Success | | 0.010 |
| PeepholeReplaceKnownMethodsTest | testFoldStringSplit | Success | | 0.012 |
| PeepholeReplaceKnownMethodsTest | testJoinBug | Success | | 0.004 |
| PeepholeReplaceKnownMethodsTest | testToUpper | Success | | 0.003 |
| PeepholeReplaceKnownMethodsTest | testToLower | Success | | 0.002 |
| PeepholeReplaceKnownMethodsTest | testFoldParseNumbers | Success | | 0.027 |
| PeepholeReplaceKnownMethodsTest | testFoldParseOctalNumbers | Success | | 0.001 |
| PeepholeSimplifyRegExpTest | testWaysOfMatchingEmptyString | Success | | 0.016 |
| PeepholeSimplifyRegExpTest | testCharsetOptimizations | Success | | 0.094 |
| PeepholeSimplifyRegExpTest | testCharsetFixup | Success | | 0.041 |
| PeepholeSimplifyRegExpTest | testGroups | Success | | 0.001 |
| PeepholeSimplifyRegExpTest | testBackReferences | Success | | 0.011 |
| PeepholeSimplifyRegExpTest | testSingleCharAlterations | Success | | 0.020 |
| PeepholeSimplifyRegExpTest | testAlterations | Success | | 0.001 |
| PeepholeSimplifyRegExpTest | testNestedAlterations | Success | | 0.000 |
| PeepholeSimplifyRegExpTest | testEscapeSequencesAndNonLatinChars | Success | | 0.002 |
| PeepholeSimplifyRegExpTest | testAnchors | Success | | 0.004 |
| PeepholeSimplifyRegExpTest | testRepetitions | Success | | 0.022 |
| PeepholeSimplifyRegExpTest | testMoreCharsets | Success | | 0.029 |
| PeepholeSimplifyRegExpTest | testMoreRegularExpression | Success | | 0.042 |
| PeepholeSimplifyRegExpTest | testPrecedence | Success | | 0.002 |
| PeepholeSimplifyRegExpTest | testMalformedRegularExpressions | Success | | 0.003 |
| PeepholeSubstituteAlternateSyntaxTest | testFoldRegExpConstructor | Success | | 0.009 |
| PeepholeSubstituteAlternateSyntaxTest | testVersionSpecificRegExpQuirks | Success | | 0.004 |
| PeepholeSubstituteAlternateSyntaxTest | testFoldRegExpConstructorStringCompare | Success | | 0.001 |
| PeepholeSubstituteAlternateSyntaxTest | testContainsUnicodeEscape | Success | | 0.000 |
| PeepholeSubstituteAlternateSyntaxTest | testFoldLiteralObjectConstructors | Success | | 0.003 |
| PeepholeSubstituteAlternateSyntaxTest | testFoldLiteralArrayConstructors | Success | | 0.019 |
| PeepholeSubstituteAlternateSyntaxTest | testFoldStandardConstructors | Success | | 0.003 |
| PeepholeSubstituteAlternateSyntaxTest | testFoldTrueFalse | Success | | 0.001 |
| PeepholeSubstituteAlternateSyntaxTest | testFoldTrueFalseComparison | Success | | 0.002 |
| PeepholeSubstituteAlternateSyntaxTest | testFoldSubtractionAssignment | Success | | 0.000 |
| PeepholeSubstituteAlternateSyntaxTest | testFoldReturnResult | Success | | 0.002 |
| PeepholeSubstituteAlternateSyntaxTest | testUndefined | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME undefined 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME undefined 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.PeepholeSubstituteAlternateSyntaxTest.foldSame(PeepholeSubstituteAlternateSyntaxTest.java:69) at com.google.javascript.jscomp.PeepholeSubstituteAlternateSyntaxTest.testUndefined(PeepholeSubstituteAlternateSyntaxTest.java:314)
| 0.004 |
| PeepholeSubstituteAlternateSyntaxTest | testSplitCommaExpressions | Success | | 0.006 |
| PeepholeSubstituteAlternateSyntaxTest | testComma1 | Success | | 0.001 |
| PeepholeSubstituteAlternateSyntaxTest | testComma2 | Success | | 0.001 |
| PeepholeSubstituteAlternateSyntaxTest | testComma3 | Success | | 0.001 |
| PeepholeSubstituteAlternateSyntaxTest | testComma4 | Success | | 0.001 |
| PeepholeSubstituteAlternateSyntaxTest | testComma5 | Success | | 0.001 |
| PeepholeSubstituteAlternateSyntaxTest | testStringArraySplitting | Success | | 0.006 |
| PeepholeSubstituteAlternateSyntaxTest | testBindToCall1 | Success | | 0.013 |
| PeepholeSubstituteAlternateSyntaxTest | testBindToCall2 | Success | | 0.009 |
| PeepholeSubstituteAlternateSyntaxTest | testBindToCall3 | Success | | 0.007 |
| PeepholeSubstituteAlternateSyntaxTest | testSimpleFunctionCall | Success | | 0.002 |
| PeepholeSubstituteAlternateSyntaxTest | testRotateAssociativeOperators | Success | | 0.004 |
| PeepholeSubstituteAlternateSyntaxTest | testNoRotateInfiniteLoop | Success | | 0.001 |
| PerformanceTrackerTest | testOutputFormat | Success | | 0.013 |
| PerformanceTrackerTest | testStatsCalculation | Success | | 0.002 |
| PhaseOptimizerTest | testInfiniteLoop | Success | | 0.001 |
| PhaseOptimizerTest | testOneRun | Success | | 0.001 |
| PhaseOptimizerTest | testLoop1 | Success | | 0.000 |
| PhaseOptimizerTest | testLoop2 | Success | | 0.000 |
| PhaseOptimizerTest | testSchedulingOfLoopablePasses | Success | | 0.000 |
| PhaseOptimizerTest | testNotInfiniteLoop | Success | | 0.000 |
| PhaseOptimizerTest | testSchedulingOfAnyKindOfPasses1 | Success | | 0.000 |
| PhaseOptimizerTest | testSchedulingOfAnyKindOfPasses2 | Success | | 0.001 |
| PhaseOptimizerTest | testSchedulingOfAnyKindOfPasses3 | Success | | 0.000 |
| PhaseOptimizerTest | testSchedulingOfAnyKindOfPasses4 | Success | | 0.000 |
| PhaseOptimizerTest | testDuplicateLoop | Success | | 0.000 |
| PhaseOptimizerTest | testPassOrdering | Success | | 0.000 |
| PhaseOptimizerTest | testProgress | Success | | 0.001 |
| PrepareAstTest | testFreeCall1 | Success | | 0.000 |
| PrepareAstTest | testFreeCall2 | Success | | 0.001 |
| PrepareAstTest | testJsDocNormalization | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidRequire | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testSimpleProvides | Success | | 0.004 |
| ProcessClosurePrimitivesTest | testMultipleProvides | Success | | 0.004 |
| ProcessClosurePrimitivesTest | testRemovalOfProvidedObjLit | Success | | 0.008 |
| ProcessClosurePrimitivesTest | testProvidedDeclaredFunctionError | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testRemovalMultipleAssignment1 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testRemovalMultipleAssignment2 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testRemovalMultipleAssignment3 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testRemovalMultipleAssignment4 | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testNoRemovalFunction1 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testNoRemovalFunction2 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testRemovalMultipleAssignmentInIf1 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testRemovalMultipleAssignmentInIf2 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testRemovalMultipleAssignmentInIf3 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testRemovalMultipleAssignmentInIf4 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testMultipleDeclarationError1 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testMultipleDeclarationError2 | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testMultipleDeclarationError3 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testProvideAfterDeclarationError | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testProvideErrorCases | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testProvideErrorCases2 | Success | | 0.003 |
| ProcessClosurePrimitivesTest | testProvideValidObjectType | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testRemovalOfRequires | Success | | 0.003 |
| ProcessClosurePrimitivesTest | testPreserveGoogRequires | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testRequireErrorCases | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testLateProvides | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testMissingProvides | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testAddDependency | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testValidSetCssNameMapping | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testValidSetCssNameMappingWithType | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testSetCssNameMappingNonStringValueReturnsError | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testSetCssNameMappingValidity | Success | | 0.003 |
| ProcessClosurePrimitivesTest | testBadCrossModuleRequire | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testGoodCrossModuleRequire1 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testGoodCrossModuleRequire2 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testSimpleAdditionalProvide | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testSimpleAdditionalProvideAtEnd | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testSimpleDottedAdditionalProvide | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testOverlappingAdditionalProvide | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testOverlappingAdditionalProvideAtEnd | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testOverlappingDottedAdditionalProvide | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testRequireOfAdditionalProvide | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testMissingRequireWithAdditionalProvide | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testLateRequire | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testReorderedProvides | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testReorderedProvides2 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testProvideOrder1 | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testProvideOrder2 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testProvideOrder3a | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testProvideOrder3b | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testProvideOrder4a | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testProvideOrder4b | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testInvalidProvide | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testValidGoogMethod | Success | | 0.003 |
| ProcessClosurePrimitivesTest | testInvalidGoogBase1 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testInvalidGoogBase2 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidGoogBase3 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testInvalidGoogBase4 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidGoogBase5 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidGoogBase6 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testInvalidGoogBase7 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidGoogBase8 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidGoogBase9 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testValidGoogBase1 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testValidGoogBase2 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testValidGoogBase3 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testValidGoogBase4 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testValidGoogBase5 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testValidGoogBase6 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testBanGoogBase | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidBase1 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testInvalidBase2 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidBase3 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testInvalidBase4 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidBase5 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidBase7 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidBase8 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidBase9 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testInvalidBase10 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidBase11 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testInvalidBase12 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testInvalidBase13 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testValidBase1 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testValidBase2 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testValidBase3 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testValidBase4 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testValidBase5 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testValidBase6 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testValidBase7 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testImplicitAndExplicitProvide | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testImplicitProvideInIndependentModules | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testImplicitProvideInIndependentModules2 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testImplicitProvideInIndependentModules3 | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testProvideInIndependentModules1 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testProvideInIndependentModules2 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testProvideInIndependentModules2b | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testProvideInIndependentModules3 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testProvideInIndependentModules3b | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testProvideInIndependentModules4 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testRequireOfBaseGoog | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testSourcePositionPreservation | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testNoStubForProvidedTypedef | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testNoStubForProvidedTypedef2 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testNoStubForProvidedTypedef4 | Success | | 0.000 |
| ProcessClosurePrimitivesTest | testDefineCases | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testDefineErrorCases | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testDefineValues | Success | | 0.002 |
| ProcessClosurePrimitivesTest | testDefineValuesErrors | Success | | 0.001 |
| ProcessClosurePrimitivesTest | testForwardDeclarations | Failure | There should be one error. expected:<1> but was:<0>
junit.framework.AssertionFailedError: There should be one error. expected:<1> but was:<0> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1214) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.ProcessClosurePrimitivesTest.testForwardDeclarations(ProcessClosurePrimitivesTest.java:366)
| 0.001 |
| ProcessClosurePrimitivesTest | testProvideRequireSameFile | Success | | 0.001 |
| ProcessCommonJSModulesTest | testExports | Success | | 0.002 |
| ProcessCommonJSModulesTest | testSortInputs | Success | | 0.008 |
| ProcessCommonJSModulesTest | testPropertyExports | Success | | 0.000 |
| ProcessCommonJSModulesTest | testVarRenaming | Success | | 0.000 |
| ProcessCommonJSModulesTest | testWithoutExports | Success | | 0.002 |
| ProcessCommonJSModulesTest | testModuleExportsWrittenWithExportsRefs | Success | | 0.001 |
| ProcessCommonJSModulesTest | testDash | Success | | 0.001 |
| ProcessCommonJSModulesTest | testIndex | Success | | 0.001 |
| ProcessCommonJSModulesTest | testModuleName | Success | | 0.001 |
| ProcessDefinesTest | testBasicDefine1 | Success | | 0.001 |
| ProcessDefinesTest | testBasicDefine2 | Success | | 0.001 |
| ProcessDefinesTest | testBasicDefine3 | Success | | 0.000 |
| ProcessDefinesTest | testDefineBadType | Success | | 0.000 |
| ProcessDefinesTest | testDefineWithBadValue1 | Success | | 0.000 |
| ProcessDefinesTest | testDefineWithBadValue2 | Success | | 0.000 |
| ProcessDefinesTest | testDefineWithDependentValue | Success | | 0.001 |
| ProcessDefinesTest | testDefineWithInvalidDependentValue | Success | | 0.001 |
| ProcessDefinesTest | testOverriding1 | Success | | 0.000 |
| ProcessDefinesTest | testOverriding2 | Success | | 0.001 |
| ProcessDefinesTest | testOverriding3 | Success | | 0.000 |
| ProcessDefinesTest | testOverridingString0 | Success | | 0.001 |
| ProcessDefinesTest | testOverridingString1 | Success | | 0.000 |
| ProcessDefinesTest | testOverridingString2 | Success | | 0.001 |
| ProcessDefinesTest | testOverridingString3 | Success | | 0.000 |
| ProcessDefinesTest | testMisspelledOverride | Success | | 0.001 |
| ProcessDefinesTest | testCompiledIsKnownDefine | Success | | 0.000 |
| ProcessDefinesTest | testSimpleReassign1 | Success | | 0.001 |
| ProcessDefinesTest | testSimpleReassign2 | Success | | 0.001 |
| ProcessDefinesTest | testSimpleReassign3 | Success | | 0.001 |
| ProcessDefinesTest | testAssignBeforeDeclaration1 | Success | | 0.001 |
| ProcessDefinesTest | testAssignBeforeDeclaration2 | Success | | 0.000 |
| ProcessDefinesTest | testEmptyDeclaration | Success | | 0.000 |
| ProcessDefinesTest | testReassignAfterCall | Success | | 0.001 |
| ProcessDefinesTest | testReassignAfterRef | Success | | 0.001 |
| ProcessDefinesTest | testReassignWithExpr | Success | | 0.001 |
| ProcessDefinesTest | testReassignAfterNonGlobalRef | Success | | 0.001 |
| ProcessDefinesTest | testReassignAfterRefInConditional | Success | | 0.000 |
| ProcessDefinesTest | testAssignInNonGlobalScope | Success | | 0.001 |
| ProcessDefinesTest | testDeclareInNonGlobalScope | Success | | 0.000 |
| ProcessDefinesTest | testDefineAssignmentInLoop | Success | | 0.001 |
| ProcessDefinesTest | testWithNoDefines | Success | | 0.001 |
| ProcessDefinesTest | testNamespacedDefine1 | Success | | 0.001 |
| ProcessDefinesTest | testNamespacedDefine2a | Success | | 0.001 |
| ProcessDefinesTest | testNamespacedDefine2b | Success | | 0.000 |
| ProcessDefinesTest | testNamespacedDefine2c | Success | | 0.001 |
| ProcessDefinesTest | testNamespacedDefine3 | Success | | 0.000 |
| ProcessDefinesTest | testNamespacedDefine4 | Success | | 0.001 |
| ProcessDefinesTest | testOverrideAfterAlias | Success | | 0.000 |
| ProcessEs6ModulesTest | testImport | Success | | 0.006 |
| ProcessEs6ModulesTest | testImportStar | Success | | 0.001 |
| ProcessEs6ModulesTest | testExport | Success | | 0.003 |
| ProcessEs6ModulesTest | testExportWithJsDoc | Success | | 0.002 |
| ProcessEs6ModulesTest | testImportAndExport | Success | | 0.001 |
| ProcessEs6ModulesTest | testExportFrom | Success | | 0.001 |
| ProcessEs6ModulesTest | testExportDefault | Success | | 0.003 |
| ProcessEs6ModulesTest | testExportDefault_anonymous | Success | | 0.001 |
| ProcessEs6ModulesTest | testExtendImportedClass | Success | | 0.002 |
| ProcessEs6ModulesTest | testFixTypeNode | Success | | 0.002 |
| ProcessEs6ModulesTest | testReferenceToTypeFromOtherModule | Success | | 0.000 |
| ProcessEs6ModulesTest | testRenameImportedReference | Success | | 0.001 |
| ProcessEs6ModulesTest | testGoogRequires_noChange | Success | | 0.003 |
| ProcessEs6ModulesTest | testGoogRequires_rewrite | Success | | 0.002 |
| ProcessTweaksTest | testInvalidDefaultValue1 | Success | | 0.006 |
| ProcessTweaksTest | testBasicTweak1 | Success | | 0.000 |
| ProcessTweaksTest | testBasicTweak2 | Success | | 0.000 |
| ProcessTweaksTest | testBasicTweak3 | Success | | 0.001 |
| ProcessTweaksTest | testBasicTweak4 | Success | | 0.000 |
| ProcessTweaksTest | testBasicTweak5 | Success | | 0.001 |
| ProcessTweaksTest | testBasicTweak6 | Success | | 0.000 |
| ProcessTweaksTest | testNonLiteralId1 | Success | | 0.001 |
| ProcessTweaksTest | testNonLiteralId2 | Success | | 0.000 |
| ProcessTweaksTest | testNonLiteralId3 | Success | | 0.000 |
| ProcessTweaksTest | testInvalidId | Success | | 0.000 |
| ProcessTweaksTest | testInvalidDefaultValue2 | Success | | 0.000 |
| ProcessTweaksTest | testUnknownGetString | Success | | 0.000 |
| ProcessTweaksTest | testUnknownGetNumber | Success | | 0.000 |
| ProcessTweaksTest | testUnknownGetBoolean | Success | | 0.000 |
| ProcessTweaksTest | testUnknownOverride | Success | | 0.001 |
| ProcessTweaksTest | testDuplicateTweak | Success | | 0.000 |
| ProcessTweaksTest | testOverrideAfterRegister | Success | | 0.001 |
| ProcessTweaksTest | testRegisterInNonGlobalScope | Success | | 0.000 |
| ProcessTweaksTest | testWrongGetter1 | Success | | 0.001 |
| ProcessTweaksTest | testWrongGetter2 | Success | | 0.000 |
| ProcessTweaksTest | testWrongGetter3 | Success | | 0.000 |
| ProcessTweaksTest | testWithNoTweaks | Success | | 0.000 |
| ProcessTweaksTest | testStrippingWithImplicitDefaultValues | Success | | 0.004 |
| ProcessTweaksTest | testStrippingWithExplicitDefaultValues | Success | | 0.001 |
| ProcessTweaksTest | testStrippingWithInCodeOverrides | Success | | 0.001 |
| ProcessTweaksTest | testStrippingWithUnregisteredTweak1 | Success | | 0.000 |
| ProcessTweaksTest | testStrippingWithUnregisteredTweak2 | Success | | 0.001 |
| ProcessTweaksTest | testStrippingWithUnregisteredTweak3 | Success | | 0.000 |
| ProcessTweaksTest | testStrippingOfManuallyRegistered1 | Success | | 0.000 |
| ProcessTweaksTest | testOverridesWithStripping | Success | | 0.001 |
| ProcessTweaksTest | testCompilerOverridesNoStripping1 | Success | | 0.001 |
| ProcessTweaksTest | testCompilerOverridesNoStripping2 | Success | | 0.001 |
| ProcessTweaksTest | testUnknownCompilerOverride | Success | | 0.001 |
| ProcessTweaksTest | testCompilerOverrideWithWrongType | Success | | 0.000 |
| PureFunctionIdentifierTest | testCall | Success | | 0.007 |
| PureFunctionIdentifierTest | testInvalidAnnotation1 | Success | | 0.005 |
| PureFunctionIdentifierTest | testInvalidAnnotation2 | Success | | 0.005 |
| PureFunctionIdentifierTest | testInvalidAnnotation3 | Success | | 0.005 |
| PureFunctionIdentifierTest | testInvalidAnnotation4 | Success | | 0.006 |
| PureFunctionIdentifierTest | testInvalidAnnotation5 | Success | | 0.005 |
| PureFunctionIdentifierTest | testIssue303 | Success | | 0.006 |
| PureFunctionIdentifierTest | testIssue303b | Success | | 0.007 |
| PureFunctionIdentifierTest | testAnnotationInExterns_new1 | Success | | 0.006 |
| PureFunctionIdentifierTest | testAnnotationInExterns_new2 | Success | | 0.008 |
| PureFunctionIdentifierTest | testAnnotationInExterns_new3 | Success | | 0.005 |
| PureFunctionIdentifierTest | testAnnotationInExterns_new4 | Success | | 0.005 |
| PureFunctionIdentifierTest | testAnnotationInExterns_new5 | Success | | 0.005 |
| PureFunctionIdentifierTest | testAnnotationInExterns_new6 | Success | | 0.007 |
| PureFunctionIdentifierTest | testAnnotationInExterns_new7 | Success | | 0.005 |
| PureFunctionIdentifierTest | testAnnotationInExterns_new8 | Success | | 0.005 |
| PureFunctionIdentifierTest | testAnnotationInExterns_new9 | Success | | 0.006 |
| PureFunctionIdentifierTest | testAnnotationInExterns_new10 | Success | | 0.006 |
| PureFunctionIdentifierTest | testAnnotationInExterns1 | Success | | 0.006 |
| PureFunctionIdentifierTest | testAnnotationInExterns2 | Success | | 0.005 |
| PureFunctionIdentifierTest | testAnnotationInExterns3 | Success | | 0.014 |
| PureFunctionIdentifierTest | testAnnotationInExterns4 | Success | | 0.006 |
| PureFunctionIdentifierTest | testAnnotationInExterns5 | Success | | 0.005 |
| PureFunctionIdentifierTest | testNamespaceAnnotationInExterns1 | Success | | 0.005 |
| PureFunctionIdentifierTest | testNamespaceAnnotationInExterns2 | Success | | 0.005 |
| PureFunctionIdentifierTest | testNamespaceAnnotationInExterns3 | Success | | 0.005 |
| PureFunctionIdentifierTest | testNamespaceAnnotationInExterns4 | Success | | 0.005 |
| PureFunctionIdentifierTest | testNamespaceAnnotationInExterns5 | Success | | 0.010 |
| PureFunctionIdentifierTest | testNamespaceAnnotationInExterns6 | Success | | 0.005 |
| PureFunctionIdentifierTest | testConstructorAnnotationInExterns1 | Success | | 0.006 |
| PureFunctionIdentifierTest | testConstructorAnnotationInExterns2 | Success | | 0.007 |
| PureFunctionIdentifierTest | testConstructorAnnotationInExterns3 | Success | | 0.008 |
| PureFunctionIdentifierTest | testConstructorAnnotationInExterns4 | Success | | 0.006 |
| PureFunctionIdentifierTest | testConstructorAnnotationInExterns5 | Success | | 0.009 |
| PureFunctionIdentifierTest | testConstructorAnnotationInExterns6 | Success | | 0.009 |
| PureFunctionIdentifierTest | testConstructorAnnotationInExterns7 | Success | | 0.010 |
| PureFunctionIdentifierTest | testConstructorAnnotationInExterns8 | Success | | 0.009 |
| PureFunctionIdentifierTest | testSharedFunctionName1 | Success | | 0.007 |
| PureFunctionIdentifierTest | testSharedFunctionName2 | Success | | 0.014 |
| PureFunctionIdentifierTest | testAnnotationInExternStubs1 | Success | | 0.008 |
| PureFunctionIdentifierTest | testAnnotationInExternStubs1b | Success | | 0.008 |
| PureFunctionIdentifierTest | testAnnotationInExternStubs2 | Success | | 0.012 |
| PureFunctionIdentifierTest | testAnnotationInExternStubs2b | Success | | 0.008 |
| PureFunctionIdentifierTest | testAnnotationInExternStubs3 | Success | | 0.015 |
| PureFunctionIdentifierTest | testAnnotationInExternStubs4 | Success | | 0.002 |
| PureFunctionIdentifierTest | testAnnotationInExternStubs5 | Success | | 0.002 |
| PureFunctionIdentifierTest | testNoSideEffectsSimple | Success | | 0.078 |
| PureFunctionIdentifierTest | testResultLocalitySimple | Success | | 0.098 |
| PureFunctionIdentifierTest | testExternCalls | Success | | 0.033 |
| PureFunctionIdentifierTest | testApply | Success | | 0.008 |
| PureFunctionIdentifierTest | testInference1 | Success | | 0.024 |
| PureFunctionIdentifierTest | testInference2 | Success | | 0.008 |
| PureFunctionIdentifierTest | testInference3 | Success | | 0.012 |
| PureFunctionIdentifierTest | testInference4 | Success | | 0.009 |
| PureFunctionIdentifierTest | testInference5 | Success | | 0.010 |
| PureFunctionIdentifierTest | testInference6 | Success | | 0.007 |
| PureFunctionIdentifierTest | testLocalizedSideEffects1 | Success | | 0.008 |
| PureFunctionIdentifierTest | testLocalizedSideEffects2 | Success | | 0.012 |
| PureFunctionIdentifierTest | testLocalizedSideEffects3 | Success | | 0.006 |
| PureFunctionIdentifierTest | testLocalizedSideEffects4 | Success | | 0.007 |
| PureFunctionIdentifierTest | testLocalizedSideEffects5 | Success | | 0.006 |
| PureFunctionIdentifierTest | testLocalizedSideEffects6 | Success | | 0.008 |
| PureFunctionIdentifierTest | testLocalizedSideEffects7 | Success | | 0.010 |
| PureFunctionIdentifierTest | testLocalizedSideEffects8 | Success | | 0.009 |
| PureFunctionIdentifierTest | testLocalizedSideEffects9 | Success | | 0.008 |
| PureFunctionIdentifierTest | testLocalizedSideEffects10 | Success | | 0.013 |
| PureFunctionIdentifierTest | testLocalizedSideEffects11 | Success | | 0.007 |
| PureFunctionIdentifierTest | testUnaryOperators1 | Success | | 0.006 |
| PureFunctionIdentifierTest | testUnaryOperators2 | Success | | 0.008 |
| PureFunctionIdentifierTest | testUnaryOperators3 | Success | | 0.013 |
| PureFunctionIdentifierTest | testUnaryOperators4 | Success | | 0.007 |
| PureFunctionIdentifierTest | testUnaryOperators5 | Success | | 0.006 |
| PureFunctionIdentifierTest | testDeleteOperator1 | Success | | 0.010 |
| PureFunctionIdentifierTest | testDeleteOperator2 | Success | | 0.010 |
| PureFunctionIdentifierTest | testOrOperator1 | Success | | 0.008 |
| PureFunctionIdentifierTest | testOrOperator2 | Success | | 0.008 |
| PureFunctionIdentifierTest | testOrOperator3 | Success | | 0.009 |
| PureFunctionIdentifierTest | testOrOperators4 | Success | | 0.009 |
| PureFunctionIdentifierTest | testAndOperator1 | Success | | 0.007 |
| PureFunctionIdentifierTest | testAndOperator2 | Success | | 0.006 |
| PureFunctionIdentifierTest | testAndOperator3 | Success | | 0.011 |
| PureFunctionIdentifierTest | testAndOperators4 | Success | | 0.005 |
| PureFunctionIdentifierTest | testHookOperator1 | Success | | 0.008 |
| PureFunctionIdentifierTest | testHookOperator2 | Success | | 0.007 |
| PureFunctionIdentifierTest | testHookOperator3 | Success | | 0.009 |
| PureFunctionIdentifierTest | testHookOperators4 | Success | | 0.005 |
| PureFunctionIdentifierTest | testThrow1 | Success | | 0.004 |
| PureFunctionIdentifierTest | testThrow2 | Success | | 0.006 |
| PureFunctionIdentifierTest | testAssignmentOverride | Success | | 0.008 |
| PureFunctionIdentifierTest | testInheritance1 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 15 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 15 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.PureFunctionIdentifierTest.checkMarkedCalls(PureFunctionIdentifierTest.java:1258) at com.google.javascript.jscomp.PureFunctionIdentifierTest.testInheritance1(PureFunctionIdentifierTest.java:972)
| 0.006 |
| PureFunctionIdentifierTest | testInheritance2 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 15 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 15 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.PureFunctionIdentifierTest.checkMarkedCalls(PureFunctionIdentifierTest.java:1258) at com.google.javascript.jscomp.PureFunctionIdentifierTest.testInheritance2(PureFunctionIdentifierTest.java:990)
| 0.005 |
| PureFunctionIdentifierTest | testCallBeforeDefinition | Success | | 0.007 |
| PureFunctionIdentifierTest | testConstructorThatModifiesThis1 | Success | | 0.005 |
| PureFunctionIdentifierTest | testConstructorThatModifiesThis2 | Success | | 0.004 |
| PureFunctionIdentifierTest | testConstructorThatModifiesThis3 | Success | | 0.007 |
| PureFunctionIdentifierTest | testConstructorThatModifiesThis4 | Success | | 0.007 |
| PureFunctionIdentifierTest | testConstructorThatModifiesGlobal1 | Success | | 0.005 |
| PureFunctionIdentifierTest | testConstructorThatModifiesGlobal2 | Success | | 0.007 |
| PureFunctionIdentifierTest | testCallFunctionThatModifiesThis | Success | | 0.006 |
| PureFunctionIdentifierTest | testMutatesArguments1 | Success | | 0.005 |
| PureFunctionIdentifierTest | testMutatesArguments2 | Success | | 0.006 |
| PureFunctionIdentifierTest | testMutatesArguments3 | Success | | 0.004 |
| PureFunctionIdentifierTest | testMutatesArguments4 | Success | | 0.005 |
| PureFunctionIdentifierTest | testMutatesArgumentsArray1 | Success | | 0.007 |
| PureFunctionIdentifierTest | testMutatesArgumentsArray2 | Success | | 0.005 |
| PureFunctionIdentifierTest | testMutatesArgumentsArray3 | Success | | 0.005 |
| PureFunctionIdentifierTest | testCallFunctionFOrG | Success | | 0.004 |
| PureFunctionIdentifierTest | testCallFunctionFOrGViaHook | Success | | 0.004 |
| PureFunctionIdentifierTest | testCallFunctionForGorH | Success | | 0.006 |
| PureFunctionIdentifierTest | testCallFunctionFOrGWithSideEffects | Success | | 0.006 |
| PureFunctionIdentifierTest | testCallFunctionFOrGViaHookWithSideEffects | Success | | 0.007 |
| PureFunctionIdentifierTest | testCallRegExpWithSideEffects | Success | | 0.012 |
| PureFunctionIdentifierTest | testAnonymousFunction1 | Success | | 0.004 |
| PureFunctionIdentifierTest | testAnonymousFunction2 | Success | | 0.004 |
| PureFunctionIdentifierTest | testAnonymousFunction3 | Success | | 0.005 |
| PureFunctionIdentifierTest | testAnonymousFunction4 | Success | | 0.005 |
| PureFunctionIdentifierTest | testFunctionProperties1 | Success | | 0.006 |
| RecordFunctionInformationTest | testFunction | Success | | 0.014 |
| RecordFunctionInformationTest | testMotionPreservesOriginalSourceName | Success | | 0.001 |
| RemoveUnusedClassPropertiesTest | testForIn | Success | | 0.001 |
| RemoveUnusedClassPropertiesTest | testIssue730 | Success | | 0.001 |
| RemoveUnusedClassPropertiesTest | testExtern | Success | | 0.000 |
| RemoveUnusedClassPropertiesTest | testExport | Success | | 0.001 |
| RemoveUnusedClassPropertiesTest | testSimple1 | Success | | 0.002 |
| RemoveUnusedClassPropertiesTest | testSimple3 | Success | | 0.001 |
| RemoveUnusedClassPropertiesTest | testObjLit | Success | | 0.002 |
| RemoveUnusedClassPropertiesTest | testAssignOp1 | Success | | 0.002 |
| RemoveUnusedClassPropertiesTest | testSimple2 | Success | | 0.002 |
| RemoveUnusedClassPropertiesTest | testAssignOp2 | Success | | 0.001 |
| RemoveUnusedClassPropertiesTest | testInc1 | Success | | 0.002 |
| RemoveUnusedClassPropertiesTest | testInc2 | Success | | 0.003 |
| RemoveUnusedClassPropertiesTest | testJSCompiler_renameProperty | Success | | 0.001 |
| RemoveUnusedClassPropertiesTest | testObjectKeys | Success | | 0.000 |
| RemoveUnusedClassPropertiesTest | testObjectReflection1 | Success | | 0.001 |
| RemoveUnusedClassPropertiesTest | testObjectReflection2 | Success | | 0.001 |
| RemoveUnusedClassPropertiesTest | testPrototypeProps1 | Success | | 0.000 |
| RemoveUnusedClassPropertiesTest | testPrototypeProps2 | Success | | 0.000 |
| RemoveUnusedClassPropertiesTest | testConstructorProperty1 | Success | | 0.002 |
| RemoveUnusedClassPropertiesTest | testConstructorProperty2 | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testGlobalFunctionsInGraph | Failure |
Expected:
Result: var x=function(){(new Foo).baz()};var y=function(){x()};function Foo(){}Foo.prototype.baz=function(){y()}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING prototype 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME y 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING prototype 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME y 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: Result: var x=function(){(new Foo).baz()};var y=function(){x()};function Foo(){}Foo.prototype.baz=function(){y()} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING baz 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING prototype 1 [source_file: testcode] STRING baz 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME y 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING baz 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING prototype 1 [source_file: testcode] STRING baz 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME y 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedPrototypePropertiesTest.testGlobalFunctionsInGraph(RemoveUnusedPrototypePropertiesTest.java:351)
| 0.001 |
| RemoveUnusedPrototypePropertiesTest | testHook1 | Failure |
Expected:
Result: function Foo(){}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [jsdoc_info: JSDocInfo] [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [jsdoc_info: JSDocInfo] [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: Result: function Foo(){} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [jsdoc_info: JSDocInfo] [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [jsdoc_info: JSDocInfo] [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedPrototypePropertiesTest.testHook1(RemoveUnusedPrototypePropertiesTest.java:494)
| 0.001 |
| RemoveUnusedPrototypePropertiesTest | testHook2 | Success | | 0.004 |
| RemoveUnusedPrototypePropertiesTest | testAliasing1 | Success | | 0.002 |
| RemoveUnusedPrototypePropertiesTest | testAliasing2 | Success | | 0.003 |
| RemoveUnusedPrototypePropertiesTest | testAliasing3 | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testAliasing4 | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testAliasing5 | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testAliasing6 | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testAliasing7 | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testStatementRestriction | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testExportedMethodsByNamingConvention | Success | | 0.002 |
| RemoveUnusedPrototypePropertiesTest | testMethodsFromExternsFileNotExported | Success | | 0.002 |
| RemoveUnusedPrototypePropertiesTest | testExportedMethodsByNamingConventionAlwaysExported | Success | | 0.002 |
| RemoveUnusedPrototypePropertiesTest | testExternMethodsFromExternsFile | Success | | 0.003 |
| RemoveUnusedPrototypePropertiesTest | testPropertyReferenceGraph | Failure |
Expected:
Result: function Foo(){}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: Result: function Foo(){} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedPrototypePropertiesTest.testPropertyReferenceGraph(RemoveUnusedPrototypePropertiesTest.java:287)
| 0.001 |
| RemoveUnusedPrototypePropertiesTest | testAnalyzePrototypeProperties | Success | | 0.004 |
| RemoveUnusedPrototypePropertiesTest | testPropertiesDefinedWithGetElem | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testQuotedProperties | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testNeverRemoveImplicitlyUsedProperties | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testPropertyDefinedInBranch | Failure |
Expected: if(true);
Result: function Foo(){}if(true);
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
IF 1 [source_file: expected0]
TRUE 1 [source_file: expected0]
BLOCK 1 [added_block: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
IF 1 [source_file: testcode]
TRUE 1 [source_file: testcode]
BLOCK 1 [added_block: 1] [source_file: testcode]
junit.framework.AssertionFailedError: Expected: if(true); Result: function Foo(){}if(true); Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] IF 1 [source_file: expected0] TRUE 1 [source_file: expected0] BLOCK 1 [added_block: 1] [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] IF 1 [source_file: testcode] TRUE 1 [source_file: testcode] BLOCK 1 [added_block: 1] [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedPrototypePropertiesTest.testPropertyDefinedInBranch(RemoveUnusedPrototypePropertiesTest.java:330)
| 0.001 |
| RemoveUnusedPrototypePropertiesTest | testUsingAnonymousObjectsToDefeatRemoval | Failure |
Expected:
Result: function Foo(){}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: Result: function Foo(){} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedPrototypePropertiesTest.testUsingAnonymousObjectsToDefeatRemoval(RemoveUnusedPrototypePropertiesTest.java:343)
| 0.001 |
| RemoveUnusedPrototypePropertiesTest | testGlobalFunctionsInGraph2 | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testGlobalFunctionsInGraph3 | Failure |
Expected: var x=function(){(new Foo).baz()};function Foo(){this.baz()}Foo.prototype.baz=function(){x()}
Result: var x=function(){(new Foo).baz()};var y=function(){x()};function Foo(){this.baz()}Foo.prototype.baz=function(){x()}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
STRING baz 1 [source_file: expected0]
FUNCTION Foo 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING baz 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
STRING prototype 1 [source_file: expected0]
STRING baz 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME x 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING prototype 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
VAR 1 [source_file: expected0]
NAME x 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
STRING baz 1 [source_file: expected0]
FUNCTION Foo 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
THIS 1 [source_file: expected0]
STRING baz 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
STRING prototype 1 [source_file: expected0]
STRING baz 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
CALL 1 [free_call: 1] [source_file: expected0]
NAME x 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
THIS 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING prototype 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: var x=function(){(new Foo).baz()};function Foo(){this.baz()}Foo.prototype.baz=function(){x()} Result: var x=function(){(new Foo).baz()};var y=function(){x()};function Foo(){this.baz()}Foo.prototype.baz=function(){x()} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] STRING baz 1 [source_file: expected0] FUNCTION Foo 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING baz 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] STRING prototype 1 [source_file: expected0] STRING baz 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME x 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING baz 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING baz 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING prototype 1 [source_file: testcode] STRING baz 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] VAR 1 [source_file: expected0] NAME x 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NEW 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] STRING baz 1 [source_file: expected0] FUNCTION Foo 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [source_file: expected0] GETPROP 1 [source_file: expected0] THIS 1 [source_file: expected0] STRING baz 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] STRING prototype 1 [source_file: expected0] STRING baz 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] CALL 1 [free_call: 1] [source_file: expected0] NAME x 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING baz 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] THIS 1 [source_file: testcode] STRING baz 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING prototype 1 [source_file: testcode] STRING baz 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedPrototypePropertiesTest.testGlobalFunctionsInGraph3(RemoveUnusedPrototypePropertiesTest.java:374)
| 0.001 |
| RemoveUnusedPrototypePropertiesTest | testGlobalFunctionsInGraph4 | Failure |
Expected:
Result: var x=function(){(new Foo).baz()};var y=function(){x()};function Foo(){Foo.prototype.baz=function(){y()}}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING prototype 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME y 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME x 1 [source_file: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING prototype 1 [source_file: testcode]
STRING baz 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME y 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: Result: var x=function(){(new Foo).baz()};var y=function(){x()};function Foo(){Foo.prototype.baz=function(){y()}} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING baz 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING prototype 1 [source_file: testcode] STRING baz 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME y 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING baz 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME y 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME x 1 [source_file: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING prototype 1 [source_file: testcode] STRING baz 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME y 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedPrototypePropertiesTest.testGlobalFunctionsInGraph4(RemoveUnusedPrototypePropertiesTest.java:385)
| 0.001 |
| RemoveUnusedPrototypePropertiesTest | testGlobalFunctionsInGraph5 | Failure |
Expected:
Result: function Foo(){}Foo.prototype.methodA=function(){};function x(){(new Foo).methodA()}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING prototype 1 [source_file: testcode]
STRING methodA 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
FUNCTION x 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING methodA 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING prototype 1 [source_file: testcode]
STRING methodA 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
FUNCTION x 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING methodA 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: Result: function Foo(){}Foo.prototype.methodA=function(){};function x(){(new Foo).methodA()} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING prototype 1 [source_file: testcode] STRING methodA 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] FUNCTION x 1 [source_file: testcode] NAME x 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING methodA 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING prototype 1 [source_file: testcode] STRING methodA 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] FUNCTION x 1 [source_file: testcode] NAME x 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING methodA 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedPrototypePropertiesTest.testGlobalFunctionsInGraph5(RemoveUnusedPrototypePropertiesTest.java:393)
| 0.001 |
| RemoveUnusedPrototypePropertiesTest | testGlobalFunctionsInGraph6 | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testGlobalFunctionsInGraph7 | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testGetterBaseline | Success | | 0.001 |
| RemoveUnusedPrototypePropertiesTest | testGetter1 | Failure |
Expected: function Foo(){}Foo.prototype={}
Result: function Foo(){}Foo.prototype={get methodA(){}};function x(){(new Foo).methodA}
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FUNCTION Foo 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
STRING prototype 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING prototype 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
GETTER_DEF methodA 1 [source_file: testcode]
FUNCTION 1
NAME 1
PARAM_LIST 1
BLOCK 1 [source_file: testcode]
FUNCTION x 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING methodA 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FUNCTION Foo 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
STRING prototype 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING prototype 1 [source_file: testcode]
OBJECTLIT 1 [source_file: testcode]
GETTER_DEF methodA 1 [source_file: testcode]
FUNCTION 1
NAME 1
PARAM_LIST 1
BLOCK 1 [source_file: testcode]
FUNCTION x 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NEW 1 [source_file: testcode]
NAME Foo 1 [source_file: testcode]
STRING methodA 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: function Foo(){}Foo.prototype={} Result: function Foo(){}Foo.prototype={get methodA(){}};function x(){(new Foo).methodA} Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] FUNCTION Foo 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] STRING prototype 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING prototype 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode] GETTER_DEF methodA 1 [source_file: testcode] FUNCTION 1 NAME 1 PARAM_LIST 1 BLOCK 1 [source_file: testcode] FUNCTION x 1 [source_file: testcode] NAME x 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING methodA 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] FUNCTION Foo 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME Foo 1 [source_file: expected0] STRING prototype 1 [source_file: expected0] OBJECTLIT 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] FUNCTION Foo 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING prototype 1 [source_file: testcode] OBJECTLIT 1 [source_file: testcode] GETTER_DEF methodA 1 [source_file: testcode] FUNCTION 1 NAME 1 PARAM_LIST 1 BLOCK 1 [source_file: testcode] FUNCTION x 1 [source_file: testcode] NAME x 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NEW 1 [source_file: testcode] NAME Foo 1 [source_file: testcode] STRING methodA 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedPrototypePropertiesTest.testGetter1(RemoveUnusedPrototypePropertiesTest.java:446)
| 0.001 |
| RemoveUnusedPrototypePropertiesTest | testGetter2 | Success | | 0.001 |
| RemoveUnusedVarsTest | testReflectedMethods | Success | | 0.002 |
| RemoveUnusedVarsTest | testRecursiveFunction1 | Success | | 0.001 |
| RemoveUnusedVarsTest | testRecursiveFunction2 | Success | | 0.001 |
| RemoveUnusedVarsTest | testNestedAssign1 | Success | | 0.000 |
| RemoveUnusedVarsTest | testNestedAssign2 | Success | | 0.001 |
| RemoveUnusedVarsTest | testNestedAssign3 | Success | | 0.001 |
| RemoveUnusedVarsTest | testDoNotOptimizeJSCompiler_renameProperty | Success | | 0.000 |
| RemoveUnusedVarsTest | testDoNotOptimizeJSCompiler_ObjectPropertyString | Success | | 0.000 |
| RemoveUnusedVarsTest | testRemoveUnusedVars | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NUMBER 0.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
NAME a 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NUMBER 0.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] NAME a 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedVarsTest.testRemoveUnusedVars(RemoveUnusedVarsTest.java:48)
| 0.001 |
| RemoveUnusedVarsTest | testFunctionArgRemoval | Success | | 0.002 |
| RemoveUnusedVarsTest | testFunctionArgRemovalFromCallSites | Success | | 0.003 |
| RemoveUnusedVarsTest | testFunctionsDeadButEscaped | Success | | 0.001 |
| RemoveUnusedVarsTest | testVarInControlStructure | Success | | 0.003 |
| RemoveUnusedVarsTest | testRValueHoisting | Success | | 0.002 |
| RemoveUnusedVarsTest | testModule | Success | | 0.001 |
| RemoveUnusedVarsTest | testFunctionWithName1 | Success | | 0.001 |
| RemoveUnusedVarsTest | testFunctionWithName2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected const change.
name:
parent:FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
Node(NAME ): testcode:1:13
foo(function bar(){})
Parent(FUNCTION ): testcode:1:4
foo(function bar(){})
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
Unexpected const change. name: parent:FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
Node(NAME ): testcode:1:13 foo(function bar(){}) Parent(FUNCTION ): testcode:1:4 foo(function bar(){})
at com.google.javascript.jscomp.Normalize$NormalizeStatements.annotateConstantsByConvention(Normalize.java:436) at com.google.javascript.jscomp.Normalize$NormalizeStatements.visit(Normalize.java:401) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:576) at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:599) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:562) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseRoots(NodeTraversal.java:308) at com.google.javascript.jscomp.Normalize.process(Normalize.java:116) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1199) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedVarsTest.testFunctionWithName2(RemoveUnusedVarsTest.java:238) Caused by: java.lang.IllegalStateException: Unexpected const change. name: parent:FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
| 0.001 |
| RemoveUnusedVarsTest | testRemoveGlobal1 | Success | | 0.001 |
| RemoveUnusedVarsTest | testRemoveGlobal2 | Success | | 0.001 |
| RemoveUnusedVarsTest | testRemoveGlobal3 | Success | | 0.002 |
| RemoveUnusedVarsTest | testRemoveGlobal4 | Success | | 0.001 |
| RemoveUnusedVarsTest | testIssue168a | Success | | 0.001 |
| RemoveUnusedVarsTest | testIssue168b | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedAssign1 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedAssign2 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedAssign3 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
STRING 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
NUMBER 3.0 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] STRING 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME e 1 [source_file: testcode] NUMBER 3.0 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedVarsTest.testUnusedAssign3(RemoveUnusedVarsTest.java:306)
| 0.001 |
| RemoveUnusedVarsTest | testUnusedAssign4 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedAssign5 | Success | | 0.000 |
| RemoveUnusedVarsTest | testUnusedAssign5b | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedAssign6 | Success | | 0.000 |
| RemoveUnusedVarsTest | testUnusedAssign6b | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedAssign7 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedAssign8 | Success | | 0.000 |
| RemoveUnusedVarsTest | testUnusedPropAssign1 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedPropAssign1b | Success | | 0.000 |
| RemoveUnusedVarsTest | testUnusedPropAssign2 | Success | | 0.000 |
| RemoveUnusedVarsTest | testUnusedPropAssign2b | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedPropAssign3 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedPropAssign3b | Success | | 0.000 |
| RemoveUnusedVarsTest | testUnusedPropAssign4 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedPropAssign5 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedPropAssign6 | Success | | 0.000 |
| RemoveUnusedVarsTest | testUnusedPropAssign7 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUnusedPropAssign7b | Success | | 0.000 |
| RemoveUnusedVarsTest | testUnusedPropAssign7c | Success | | 0.001 |
| RemoveUnusedVarsTest | testUsedPropAssign1 | Success | | 0.000 |
| RemoveUnusedVarsTest | testUsedPropAssign2 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NAME z 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
STRING bar 1 [source_file: testcode]
NUMBER 3.0 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NAME z 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME e 1 [source_file: testcode] STRING bar 1 [source_file: testcode] NUMBER 3.0 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RemoveUnusedVarsTest.testUsedPropAssign2(RemoveUnusedVarsTest.java:404)
| 0.000 |
| RemoveUnusedVarsTest | testUsedPropAssign3 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUsedPropAssign4 | Success | | 0.000 |
| RemoveUnusedVarsTest | testUsedPropAssign5 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUsedPropAssign6 | Success | | 0.000 |
| RemoveUnusedVarsTest | testUsedPropAssign7 | Success | | 0.001 |
| RemoveUnusedVarsTest | testUsedPropAssign8 | Success | | 0.000 |
| RemoveUnusedVarsTest | testUsedPropAssign9 | Success | | 0.000 |
| RemoveUnusedVarsTest | testDependencies1 | Success | | 0.001 |
| RemoveUnusedVarsTest | testDependencies1b | Success | | 0.000 |
| RemoveUnusedVarsTest | testDependencies1c | Success | | 0.000 |
| RemoveUnusedVarsTest | testDependencies2 | Success | | 0.001 |
| RemoveUnusedVarsTest | testDependencies2b | Success | | 0.000 |
| RemoveUnusedVarsTest | testDependencies2c | Success | | 0.001 |
| RemoveUnusedVarsTest | testGlobalVarReferencesLocalVar | Success | | 0.000 |
| RemoveUnusedVarsTest | testLocalVarReferencesGlobalVar1 | Success | | 0.000 |
| RemoveUnusedVarsTest | testLocalVarReferencesGlobalVar2 | Success | | 0.002 |
| RemoveUnusedVarsTest | testCallSiteInteraction | Success | | 0.011 |
| RemoveUnusedVarsTest | testCallSiteInteraction_constructors | Success | | 0.001 |
| RemoveUnusedVarsTest | testFunctionArgRemovalCausingInconsistency | Success | | 0.001 |
| RemoveUnusedVarsTest | testRemoveUnusedVarsPossibleNpeCase | Success | | 0.001 |
| RemoveUnusedVarsTest | testDoNotOptimizeSetters | Success | | 0.001 |
| RemoveUnusedVarsTest | testRemoveSingletonClass1 | Success | | 0.000 |
| RemoveUnusedVarsTest | testRemoveInheritedClass1 | Success | | 0.001 |
| RemoveUnusedVarsTest | testRemoveInheritedClass2 | Success | | 0.001 |
| RemoveUnusedVarsTest | testRemoveInheritedClass3 | Success | | 0.000 |
| RemoveUnusedVarsTest | testRemoveInheritedClass4 | Success | | 0.000 |
| RemoveUnusedVarsTest | testRemoveInheritedClass5 | Success | | 0.000 |
| RemoveUnusedVarsTest | testRemoveInheritedClass6 | Success | | 0.000 |
| RemoveUnusedVarsTest | testRemoveInheritedClass7 | Success | | 0.001 |
| RemoveUnusedVarsTest | testRemoveInheritedClass8 | Success | | 0.002 |
| RemoveUnusedVarsTest | testRemoveInheritedClass9 | Success | | 0.001 |
| RemoveUnusedVarsTest | testRemoveInheritedClass10 | Success | | 0.001 |
| RemoveUnusedVarsTest | testRemoveInheritedClass11 | Success | | 0.002 |
| RemoveUnusedVarsTest | testRemoveInheritedClass12 | Success | | 0.001 |
| RemoveUnusedVarsTest | testIssue618_1 | Success | | 0.000 |
| RemoveUnusedVarsTest | testIssue618_2 | Success | | 0.000 |
| RenameLabelsTest | testRenameGlobals | Success | | 0.005 |
| RenameLabelsTest | testRenameReused | Success | | 0.000 |
| RenameLabelsTest | testRenameInFunction | Success | | 0.002 |
| RenameLocalVarsTest | testRenameGlobals | Success | | 0.001 |
| RenameLocalVarsTest | testRenameSimple | Success | | 0.000 |
| RenameLocalVarsTest | testRenameLocals | Success | | 0.001 |
| RenameLocalVarsTest | testRenameLocalsClashingWithGlobals | Success | | 0.000 |
| RenameLocalVarsTest | testRenameNested | Success | | 0.001 |
| RenameLocalVarsTest | testRenameWithExterns1 | Success | | 0.001 |
| RenameLocalVarsTest | testRenameWithExterns2 | Success | | 0.000 |
| RenameLocalVarsTest | testDoNotRenameExportedName | Success | | 0.000 |
| RenameLocalVarsTest | testRenameWithNameOverlap | Success | | 0.001 |
| RenameLocalVarsTest | testRenameWithPrefix1 | Success | | 0.001 |
| RenameLocalVarsTest | testRenameWithPrefix2 | Success | | 0.000 |
| RenameLocalVarsTest | testRenameWithPrefix3 | Success | | 0.001 |
| RenameLocalVarsTest | testBias | Success | | 0.000 |
| RenameLocalVarsTest | testBias2 | Success | | 0.001 |
| RenamePropertiesTest | testPrototypePropertiesAsObjLitKeys1 | Success | | 0.001 |
| RenamePropertiesTest | testPrototypePropertiesAsObjLitKeys2 | Success | | 0.002 |
| RenamePropertiesTest | testQuotedPrototypeProperty | Success | | 0.000 |
| RenamePropertiesTest | testOverlappingOriginalAndGeneratedNames | Success | | 0.000 |
| RenamePropertiesTest | testPropertyAddedToObject | Success | | 0.005 |
| RenamePropertiesTest | testPropertyAddedToFunction | Success | | 0.001 |
| RenamePropertiesTest | testPropertyOfObjectOfUnknownType | Success | | 0.001 |
| RenamePropertiesTest | testSetQuotedPropertyOfThis | Success | | 0.001 |
| RenamePropertiesTest | testExternedPropertyName | Success | | 0.001 |
| RenamePropertiesTest | testExternedPropertyNameDefinedByObjectLiteral | Success | | 0.001 |
| RenamePropertiesTest | testStaticAndInstanceMethodWithSameName | Success | | 0.001 |
| RenamePropertiesTest | testPrototypeProperties | Success | | 0.001 |
| RenamePropertiesTest | testPrototypePropertiesAsObjLitKeys3 | Success | | 0.002 |
| RenamePropertiesTest | testMixedQuotedAndUnquotedObjLitKeys1 | Success | | 0.001 |
| RenamePropertiesTest | testMixedQuotedAndUnquotedObjLitKeys2 | Success | | 0.001 |
| RenamePropertiesTest | testRenamePropertiesWithLeadingUnderscores | Success | | 0.001 |
| RenamePropertiesTest | testSetPropertyOfThis | Success | | 0.000 |
| RenamePropertiesTest | testReadPropertyOfThis | Success | | 0.000 |
| RenamePropertiesTest | testObjectLiteralInLocalScope | Success | | 0.001 |
| RenamePropertiesTest | testIncorrectAttemptToAccessQuotedProperty | Success | | 0.000 |
| RenamePropertiesTest | testAvoidingConflictsBetweenQuotedAndUnquotedPropertyNames | Success | | 0.000 |
| RenamePropertiesTest | testSamePropertyNameQuotedAndUnquoted | Success | | 0.000 |
| RenamePropertiesTest | testRenamePropertiesFunctionCall1 | Success | | 0.001 |
| RenamePropertiesTest | testRenamePropertiesFunctionCall2 | Success | | 0.002 |
| RenamePropertiesTest | testRemoveRenameFunctionStubs1 | Success | | 0.001 |
| RenamePropertiesTest | testRemoveRenameFunctionStubs2 | Success | | 0.001 |
| RenamePropertiesTest | testGeneratePseudoNames | Success | | 0.001 |
| RenamePropertiesTest | testModules | Success | | 0.004 |
| RenamePropertiesTest | testPropertyAffinityOff | Success | | 0.002 |
| RenamePropertiesTest | testPrototypePropertiesStable | Success | | 0.002 |
| RenamePropertiesTest | testPrototypePropertiesAsObjLitKeysStable | Success | | 0.002 |
| RenamePropertiesTest | testMixedQuotedAndUnquotedObjLitKeysStable | Success | | 0.001 |
| RenamePropertiesTest | testOverlappingOriginalAndGeneratedNamesStable | Success | | 0.001 |
| RenamePropertiesTest | testStableWithTrickyExternsChanges | Success | | 0.001 |
| RenamePropertiesTest | testRenamePropertiesWithLeadingUnderscoresStable | Success | | 0.001 |
| RenamePropertiesTest | testPropertyAddedToObjectStable | Success | | 0.001 |
| RenamePropertiesTest | testAvoidingConflictsBetQuotedAndUnquotedPropertyNamesStable | Success | | 0.002 |
| RenamePropertiesTest | testRenamePropertiesFunctionCallStable | Success | | 0.002 |
| RenamePrototypesTest | testModule | Success | | 0.006 |
| RenamePrototypesTest | testRenamePrototypes1 | Success | | 0.000 |
| RenamePrototypesTest | testRenamePrototypes2 | Success | | 0.004 |
| RenamePrototypesTest | testRenamePrototypesWithGetOrSet | Success | | 0.003 |
| RenamePrototypesTest | testRenameProperties | Success | | 0.003 |
| RenamePrototypesTest | testBoth | Success | | 0.000 |
| RenamePrototypesTest | testPropertyNameThatIsBothObjLitKeyAndPrototypeProperty | Success | | 0.002 |
| RenamePrototypesTest | testStableSimple1 | Success | | 0.001 |
| RenamePrototypesTest | testStableSimple2 | Success | | 0.001 |
| RenamePrototypesTest | testStableSimple3 | Success | | 0.001 |
| RenamePrototypesTest | testStableOverlap | Success | | 0.001 |
| RenamePrototypesTest | testStableTrickyExternedMethods | Success | | 0.001 |
| RenameVarsTest | testRenameRedeclaredGlobals | Success | | 0.001 |
| RenameVarsTest | testRecursiveFunctions1 | Success | | 0.001 |
| RenameVarsTest | testRecursiveFunctions2 | Success | | 0.001 |
| RenameVarsTest | testBleedingRecursiveFunctions1 | Success | | 0.001 |
| RenameVarsTest | testBleedingRecursiveFunctions2 | Success | | 0.000 |
| RenameVarsTest | testBleedingRecursiveFunctions3 | Success | | 0.001 |
| RenameVarsTest | testNamingBasedOnOrderOfOccurrence | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME s 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME s 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RenameVarsTest.testNamingBasedOnOrderOfOccurrence(RenameVarsTest.java:273)
| 0.001 |
| RenameVarsTest | testStableRenameSimple | Success | | 0.001 |
| RenameVarsTest | testStableRenameGlobals | Success | | 0.001 |
| RenameVarsTest | testPseudoNames | Success | | 0.001 |
| RenameVarsTest | testStableRenameWithPointlesslyAnonymousFunctions | Success | | 0.001 |
| RenameVarsTest | testStableRenameLocalsClashingWithGlobals | Success | | 0.001 |
| RenameVarsTest | testStableRenameNested | Success | | 0.001 |
| RenameVarsTest | testStableRenameWithExterns1 | Success | | 0.001 |
| RenameVarsTest | testStableRenameWithExterns2 | Success | | 0.001 |
| RenameVarsTest | testStableRenameWithNameOverlap | Success | | 0.001 |
| RenameVarsTest | testStableRenameWithAnonymousFunctions | Success | | 0.001 |
| RenameVarsTest | testStableRenameSimpleExternsChanges | Success | | 0.001 |
| RenameVarsTest | testStableRenameSimpleLocalNameExterned | Success | | 0.001 |
| RenameVarsTest | testStableRenameSimpleGlobalNameExterned | Success | | 0.001 |
| RenameVarsTest | testStableRenameWithPrefix1AndUnstableLocalNames | Success | | 0.001 |
| RenameVarsTest | testStableRenameWithPrefix2 | Success | | 0.001 |
| RenameVarsTest | testContrivedExampleWhereConsistentRenamingIsWorse | Success | | 0.001 |
| RenameVarsTest | testPrevUsedMapWithDuplicates | Success | | 0.000 |
| RenameVarsTest | testExportSimpleSymbolReservesName | Success | | 0.002 |
| RenameVarsTest | testExportComplexSymbolReservesName | Success | | 0.002 |
| RenameVarsTest | testExportToNonStringDoesntExplode | Success | | 0.001 |
| RenameVarsTest | testDollarSignSuperExport1 | Success | | 0.002 |
| RenameVarsTest | testDollarSignSuperExport2 | Success | | 0.007 |
| RenameVarsTest | testPreferStableNames | Success | | 0.030 |
| RenameVarsTest | testRenameGlobals | Success | | 0.001 |
| RenameVarsTest | testRenameSimple | Success | | 0.000 |
| RenameVarsTest | testRenameLocals | Success | | 0.001 |
| RenameVarsTest | testRenameLocalsClashingWithGlobals | Success | | 0.000 |
| RenameVarsTest | testRenameNested | Success | | 0.002 |
| RenameVarsTest | testRenameWithExterns1 | Success | | 0.001 |
| RenameVarsTest | testRenameWithExterns2 | Success | | 0.001 |
| RenameVarsTest | testDoNotRenameExportedName | Success | | 0.000 |
| RenameVarsTest | testRenameWithNameOverlap | Success | | 0.000 |
| RenameVarsTest | testRenameWithPrefix1 | Success | | 0.001 |
| RenameVarsTest | testRenameWithPrefix2 | Success | | 0.001 |
| RenameVarsTest | testRenameWithPrefix3 | Success | | 0.001 |
| RenameVarsTest | testBias | Success | | 0.001 |
| ReorderConstantExpressionTest | testRelationalOperations | Success | | 0.029 |
| ReorderConstantExpressionTest | testSymmetricOperations | Success | | 0.036 |
| ReorderConstantExpressionTest | testReorderConstantDoesntAddParens | Success | | 0.001 |
| ReplaceCssNamesTest | testDoNotUseReplacementMap | Failure | expected:<{goog=2, footer=1, active=2, colorswatch=1, disabled=1, buttonbar=1}> but was:<{footer=3, goog=5, buttonbar=3, colorswatch=3, active=5, disabled=3}>
junit.framework.AssertionFailedError: expected:<{goog=2, footer=1, active=2, colorswatch=1, disabled=1, buttonbar=1}> but was:<{footer=3, goog=5, buttonbar=3, colorswatch=3, active=5, disabled=3}> at com.google.javascript.jscomp.ReplaceCssNamesTest.testDoNotUseReplacementMap(ReplaceCssNamesTest.java:127)
| 0.003 |
| ReplaceCssNamesTest | testOneArgWithUnknownStringLiterals | Success | | 0.002 |
| ReplaceCssNamesTest | testOneArgWithSimpleStringLiterals | Failure | expected:<{buttonbar=1, colorswatch=1, elephant=1}> but was:<{buttonbar=3, colorswatch=3, elephant=3}>
junit.framework.AssertionFailedError: expected:<{buttonbar=1, colorswatch=1, elephant=1}> but was:<{buttonbar=3, colorswatch=3, elephant=3}> at com.google.javascript.jscomp.ReplaceCssNamesTest.testOneArgWithSimpleStringLiterals(ReplaceCssNamesTest.java:152)
| 0.001 |
| ReplaceCssNamesTest | testOneArgWithCompositeClassNames | Failure | expected:<{goog=2, footer=1, active=2, colorswatch=1, disabled=1, buttonbar=1}> but was:<{footer=3, goog=5, buttonbar=3, colorswatch=3, active=5, disabled=3}>
junit.framework.AssertionFailedError: expected:<{goog=2, footer=1, active=2, colorswatch=1, disabled=1, buttonbar=1}> but was:<{footer=3, goog=5, buttonbar=3, colorswatch=3, active=5, disabled=3}> at com.google.javascript.jscomp.ReplaceCssNamesTest.testOneArgWithCompositeClassNames(ReplaceCssNamesTest.java:171)
| 0.001 |
| ReplaceCssNamesTest | testOneArgWithCompositeClassNamesFull | Success | | 0.002 |
| ReplaceCssNamesTest | testOneArgWithCompositeClassNamesWithUnknownParts | Success | | 0.001 |
| ReplaceCssNamesTest | testTwoArgsWithStringLiterals | Success | | 0.001 |
| ReplaceCssNamesTest | testZeroArguments | Success | | 0.000 |
| ReplaceCssNamesTest | testTwoArsWithVariableFirstArg | Success | | 0.001 |
| ReplaceCssNamesTest | testTwoArgsWithVariableFirstArgFull | Success | | 0.000 |
| ReplaceCssNamesTest | testManyArguments | Success | | 0.001 |
| ReplaceCssNamesTest | testNonStringArgument | Success | | 0.002 |
| ReplaceCssNamesTest | testNoSymbolMapStripsCallAndDoesntIssueWarnings | Success | | 0.000 |
| ReplaceCssNamesTest | testWhitelistByPart | Success | | 0.001 |
| ReplaceCssNamesTest | testWhitelistByWhole | Success | | 0.000 |
| ReplaceCssNamesTest | testWhitelistWithDashes | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testObjectLit | Success | | 0.004 |
| ReplaceIdGeneratorsTest | testVar | Success | | 0.003 |
| ReplaceIdGeneratorsTest | testSimple | Success | | 0.002 |
| ReplaceIdGeneratorsTest | testSerialization2 | Success | | 0.000 |
| ReplaceIdGeneratorsTest | testReusePreviousSerialization1 | Success | | 0.002 |
| ReplaceIdGeneratorsTest | testReusePreviousSerialization2 | Success | | 0.000 |
| ReplaceIdGeneratorsTest | testReusePreviousSerializationConsistent1 | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testObjectLit_empty | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testSimpleConsistent | Success | | 0.002 |
| ReplaceIdGeneratorsTest | testSimpleStable | Success | | 0.002 |
| ReplaceIdGeneratorsTest | testInObjLit | Success | | 0.002 |
| ReplaceIdGeneratorsTest | testInObjLit2 | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testMapped | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testMappedMap | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testMapped2 | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testTwoGenerators | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testMixedGenerators | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testNonLiteralParam1 | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testNonLiteralParam2 | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testLocalCall | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testConditionalCall | Success | | 0.002 |
| ReplaceIdGeneratorsTest | testConflictingIdGenerator | Success | | 0.002 |
| ReplaceIdGeneratorsTest | testUnknownMapping | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testBadGenerator1 | Success | | 0.000 |
| ReplaceIdGeneratorsTest | testBadGenerator2 | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testBackwardCompat | Success | | 0.001 |
| ReplaceIdGeneratorsTest | testSerialization1 | Success | | 0.000 |
| ReplaceMessagesForChromeTest | testReplaceSimpleMessage | Success | | 0.005 |
| ReplaceMessagesForChromeTest | testReplaceSinglePlaceholder | Success | | 0.001 |
| ReplaceMessagesForChromeTest | testReplaceTwoPlaceholders | Success | | 0.002 |
| ReplaceMessagesForChromeTest | testReplacePlaceholderMissingValue | Success | | 0.001 |
| ReplaceMessagesForChromeTest | testReplaceTwoPlaceholdersNonAlphaOrder | Success | | 0.001 |
| ReplaceMessagesForChromeTest | testReplaceExternalMessage | Success | | 0.001 |
| ReplaceMessagesForChromeTest | testReplaceMessageWithDuplicatePlaceholders | Success | | 0.001 |
| ReplaceMessagesTest | testNameReplacement | Success | | 0.002 |
| ReplaceMessagesTest | testGetPropReplacement | Success | | 0.001 |
| ReplaceMessagesTest | testHookReplacement | Success | | 0.000 |
| ReplaceMessagesTest | testAddReplacement | Success | | 0.001 |
| ReplaceMessagesTest | testReplaceSimpleMessage | Success | | 0.000 |
| ReplaceMessagesTest | testFunctionCallReplacement | Success | | 0.001 |
| ReplaceMessagesTest | testMethodCallReplacement | Success | | 0.000 |
| ReplaceMessagesTest | testPlaceholderValueReferencedTwice | Success | | 0.000 |
| ReplaceMessagesTest | testPlaceholderNameInLowerCamelCase | Success | | 0.001 |
| ReplaceMessagesTest | testQualifiedMessageName | Success | | 0.000 |
| ReplaceMessagesTest | testPlaceholderInPlaceholderValue | Success | | 0.001 |
| ReplaceMessagesTest | testSimpleMessageReplacementMissing | Success | | 0.000 |
| ReplaceMessagesTest | testSimpleMessageReplacementMissingWithNewStyle | Success | | 0.001 |
| ReplaceMessagesTest | testStrictModeAndMessageReplacementAbsentInBundle | Success | | 0.000 |
| ReplaceMessagesTest | testStrictModeAndMessageReplacementAbsentInNonEmptyBundle | Success | | 0.000 |
| ReplaceMessagesTest | testFunctionReplacementMissing | Success | | 0.000 |
| ReplaceMessagesTest | testFunctionWithParamReplacementMissing | Success | | 0.000 |
| ReplaceMessagesTest | testPlaceholderNameInLowerUnderscoreCase | Success | | 0.000 |
| ReplaceMessagesTest | testBadPlaceholderReferenceInReplacement | Success | | 0.000 |
| ReplaceMessagesTest | testLegacyStyleNoPlaceholdersVarSyntax | Success | | 0.000 |
| ReplaceMessagesTest | testLegacyStyleNoPlaceholdersFunctionSyntax | Success | | 0.000 |
| ReplaceMessagesTest | testLegacyStyleOnePlaceholder | Success | | 0.000 |
| ReplaceMessagesTest | testLegacyStyleTwoPlaceholders | Success | | 0.001 |
| ReplaceMessagesTest | testLegacyStylePlaceholderNameInLowerCamelCase | Success | | 0.000 |
| ReplaceMessagesTest | testLegacyStylePlaceholderNameInLowerUnderscoreCase | Success | | 0.001 |
| ReplaceMessagesTest | testLegacyStyleBadPlaceholderReferenceInReplacemen | Success | | 0.000 |
| ReplaceMessagesTest | testTranslatedPlaceHolderMissMatch | Success | | 0.001 |
| ReplaceMessagesTest | testBadFallbackSyntax1 | Success | | 0.000 |
| ReplaceMessagesTest | testBadFallbackSyntax2 | Success | | 0.000 |
| ReplaceMessagesTest | testBadFallbackSyntax3 | Success | | 0.000 |
| ReplaceMessagesTest | testBadFallbackSyntax4 | Success | | 0.000 |
| ReplaceMessagesTest | testUseFallback | Success | | 0.001 |
| ReplaceMessagesTest | testFallbackEmptyBundle | Success | | 0.001 |
| ReplaceMessagesTest | testNoUseFallback | Success | | 0.000 |
| ReplaceMessagesTest | testNoUseFallback2 | Success | | 0.001 |
| ReplaceStringsTest | testStable2 | Success | | 0.005 |
| ReplaceStringsTest | testThrowError1 | Success | | 0.004 |
| ReplaceStringsTest | testThrowError2 | Success | | 0.002 |
| ReplaceStringsTest | testThrowError3 | Success | | 0.002 |
| ReplaceStringsTest | testThrowError4 | Success | | 0.004 |
| ReplaceStringsTest | testThrowNonStringError | Success | | 0.002 |
| ReplaceStringsTest | testThrowConstStringError | Success | | 0.002 |
| ReplaceStringsTest | testThrowNewError1 | Success | | 0.002 |
| ReplaceStringsTest | testThrowNewError2 | Success | | 0.002 |
| ReplaceStringsTest | testStartTracer1 | Success | | 0.002 |
| ReplaceStringsTest | testStartTracer2 | Success | | 0.001 |
| ReplaceStringsTest | testStartTracer3 | Success | | 0.002 |
| ReplaceStringsTest | testStartTracer4 | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.ReplaceStringsTest.testDebugStrings(ReplaceStringsTest.java:502) at com.google.javascript.jscomp.ReplaceStringsTest.testStartTracer4(ReplaceStringsTest.java:269)
| 0.002 |
| ReplaceStringsTest | testLoggerInitialization | Success | | 0.002 |
| ReplaceStringsTest | testLoggerOnObject1 | Success | | 0.002 |
| ReplaceStringsTest | testLoggerOnObject2 | Success | | 0.002 |
| ReplaceStringsTest | testLoggerOnObject3a | Success | | 0.002 |
| ReplaceStringsTest | testLoggerOnObject3b | Success | | 0.002 |
| ReplaceStringsTest | testLoggerOnObject4 | Success | | 0.002 |
| ReplaceStringsTest | testLoggerOnObject5 | Success | | 0.002 |
| ReplaceStringsTest | testLoggerOnVar | Success | | 0.003 |
| ReplaceStringsTest | testLoggerOnThis | Success | | 0.003 |
| ReplaceStringsTest | testRepeatedErrorString1 | Success | | 0.002 |
| ReplaceStringsTest | testRepeatedErrorString2 | Success | | 0.002 |
| ReplaceStringsTest | testRepeatedErrorString3 | Success | | 0.002 |
| ReplaceStringsTest | testRepeatedTracerString | Success | | 0.002 |
| ReplaceStringsTest | testRepeatedLoggerString | Success | | 0.002 |
| ReplaceStringsTest | testRepeatedStringsWithDifferentMethods | Success | | 0.002 |
| ReplaceStringsTest | testReserved | Success | | 0.003 |
| ReplaceStringsTest | testStable1 | Success | | 0.004 |
| ReplaceStringsTest | testLoggerWithNoReplacedParam | Failure | Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 1 : 49 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected warning(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at testcode line 1 : 49 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1094) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.ReplaceStringsTest.testDebugStrings(ReplaceStringsTest.java:502) at com.google.javascript.jscomp.ReplaceStringsTest.testLoggerWithNoReplacedParam(ReplaceStringsTest.java:433)
| 0.002 |
| ReplaceStringsTest | testLoggerWithSomeParametersNotReplaced | Success | | 0.002 |
| ReplaceStringsTest | testWithDisambiguateProperties | Success | | 0.003 |
| RescopeGlobalSymbolsTest | testTryCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME a 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME a 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NAME e 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RescopeGlobalSymbolsTest.testTryCatch(RescopeGlobalSymbolsTest.java:166)
| 0.001 |
| RescopeGlobalSymbolsTest | testExterns | Success | | 0.009 |
| RescopeGlobalSymbolsTest | testForLoops | Success | | 0.001 |
| RescopeGlobalSymbolsTest | testVarDeclarations | Success | | 0.002 |
| RescopeGlobalSymbolsTest | testVarDeclarations_allSameModule | Success | | 0.002 |
| RescopeGlobalSymbolsTest | testVarDeclarations_acrossModules | Success | | 0.002 |
| RescopeGlobalSymbolsTest | testDeeperScopes | Success | | 0.002 |
| RescopeGlobalSymbolsTest | testForLoops_acrossModules | Success | | 0.003 |
| RescopeGlobalSymbolsTest | testFunctionStatements | Success | | 0.005 |
| RescopeGlobalSymbolsTest | testShadow | Success | | 0.003 |
| RhinoErrorReporterTest | testTrailingComma | Success | | 0.001 |
| RhinoErrorReporterTest | testMisplacedTypeAnnotation | Success | | 0.001 |
| RhinoErrorReporterTest | testInvalidEs3Prop | Success | | 0.001 |
| RuntimeTypeCheckTest | testUnion | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testUnion(RuntimeTypeCheckTest.java:93)
| 0.013 |
| RuntimeTypeCheckTest | testFunctionType | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testFunctionType(RuntimeTypeCheckTest.java:239)
| 0.006 |
| RuntimeTypeCheckTest | testInterface | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testInterface(RuntimeTypeCheckTest.java:148)
| 0.007 |
| RuntimeTypeCheckTest | testReturn | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testReturn(RuntimeTypeCheckTest.java:107)
| 0.008 |
| RuntimeTypeCheckTest | testValue | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testValue(RuntimeTypeCheckTest.java:41)
| 0.008 |
| RuntimeTypeCheckTest | testConstValue | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testConstValue(RuntimeTypeCheckTest.java:51)
| 0.006 |
| RuntimeTypeCheckTest | testValueWithInnerFn | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testValueWithInnerFn(RuntimeTypeCheckTest.java:59)
| 0.006 |
| RuntimeTypeCheckTest | testNullValue | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testNullValue(RuntimeTypeCheckTest.java:68)
| 0.006 |
| RuntimeTypeCheckTest | testValues | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testValues(RuntimeTypeCheckTest.java:75)
| 0.006 |
| RuntimeTypeCheckTest | testSkipParamOK | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testSkipParamOK(RuntimeTypeCheckTest.java:85)
| 0.006 |
| RuntimeTypeCheckTest | testUntypedParam | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testUntypedParam(RuntimeTypeCheckTest.java:103)
| 0.005 |
| RuntimeTypeCheckTest | testNativeClass | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testNativeClass(RuntimeTypeCheckTest.java:115)
| 0.005 |
| RuntimeTypeCheckTest | testQualifiedClass | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testQualifiedClass(RuntimeTypeCheckTest.java:123)
| 0.007 |
| RuntimeTypeCheckTest | testInnerClasses | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testInnerClasses(RuntimeTypeCheckTest.java:134)
| 0.006 |
| RuntimeTypeCheckTest | testImplementedInterface | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testImplementedInterface(RuntimeTypeCheckTest.java:158)
| 0.006 |
| RuntimeTypeCheckTest | testExtendedInterface | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testExtendedInterface(RuntimeTypeCheckTest.java:172)
| 0.006 |
| RuntimeTypeCheckTest | testInnerConstructor | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testInnerConstructor(RuntimeTypeCheckTest.java:228)
| 0.006 |
| RuntimeTypeCheckTest | testImplementedInterfaceOrdering | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testImplementedInterfaceOrdering(RuntimeTypeCheckTest.java:189)
| 0.006 |
| RuntimeTypeCheckTest | testImplementedInterfaceOrderingGoogInherits | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testImplementedInterfaceOrderingGoogInherits(RuntimeTypeCheckTest.java:205)
| 0.006 |
| RuntimeTypeCheckTest | testReturnNothing | Error | Missing catch or finally for try statement.. Reference node:
TRY 90 [source_file: [synthetic:2] ]
BLOCK 90 [source_file: [synthetic:2] ]
RETURN 91 [source_file: [synthetic:2] ]
CALL 91 [free_call: 1] [source_file: [synthetic:2] ]
NAME String 91 [source_file: [synthetic:2] ]
NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
CATCH 93 [source_file: [synthetic:2] ]
NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ]
BLOCK 93 [source_file: [synthetic:2] ]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 90 [source_file: [synthetic:2] ] BLOCK 90 [source_file: [synthetic:2] ] RETURN 91 [source_file: [synthetic:2] ] CALL 91 [free_call: 1] [source_file: [synthetic:2] ] NAME String 91 [source_file: [synthetic:2] ] NAME expr$$jscomp_runtime_type_check_8 91 [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ] CATCH 93 [source_file: [synthetic:2] ] NAME e$$jscomp_runtime_type_check_10 93 [is_constant_name: 1] [source_file: [synthetic:2] ] BLOCK 93 [source_file: [synthetic:2] ]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1046) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testChecks(RuntimeTypeCheckTest.java:249) at com.google.javascript.jscomp.RuntimeTypeCheckTest.testReturnNothing(RuntimeTypeCheckTest.java:235)
| 0.005 |
| SanityCheckTest | testUnnormalizeNodeTypes | Success | | 0.002 |
| SanityCheckTest | testUnnormalized | Success | | 0.002 |
| SanityCheckTest | testConstantAnnotationMismatch | Error | Not true that <"INTERNAL COMPILER ERROR.
Please report this problem.
Unexpected const change.
name: x
parent:VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
Node(NAME x): testcode:1:4
var x;
Parent(VAR): testcode:1:0
var x;
"> contains <"The name x is not consistently annotated as constant.">
java.lang.AssertionError: Not true that <"INTERNAL COMPILER ERROR. Please report this problem.
Unexpected const change. name: x parent:VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode]
Node(NAME x): testcode:1:4 var x; Parent(VAR): testcode:1:0 var x; "> contains <"The name x is not consistently annotated as constant."> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.fail(Subject.java:230) at com.google.common.truth.StringSubject.contains(StringSubject.java:126) at com.google.javascript.jscomp.SanityCheckTest.testConstantAnnotationMismatch(SanityCheckTest.java:104)
| 0.002 |
| ScopedAliasesTest | testFunctionDeclaration | Success | | 0.001 |
| ScopedAliasesTest | testObjectLiteral | Success | | 0.002 |
| ScopedAliasesTest | testNullType | Success | | 0.001 |
| ScopedAliasesTest | testIssue772 | Success | | 0.001 |
| ScopedAliasesTest | testOneLevel | Success | | 0.001 |
| ScopedAliasesTest | testTwoLevel | Success | | 0.001 |
| ScopedAliasesTest | testSourceInfo | Success | | 0.001 |
| ScopedAliasesTest | testTransitive | Success | | 0.001 |
| ScopedAliasesTest | testTransitiveInSameVar | Success | | 0.001 |
| ScopedAliasesTest | testMultipleTransitive | Success | | 0.000 |
| ScopedAliasesTest | testFourLevel | Success | | 0.001 |
| ScopedAliasesTest | testWorksInClosures | Success | | 0.000 |
| ScopedAliasesTest | testOverridden | Success | | 0.007 |
| ScopedAliasesTest | testTwoScopes | Success | | 0.001 |
| ScopedAliasesTest | testTwoSymbolsInTwoScopes | Success | | 0.001 |
| ScopedAliasesTest | testAliasOfSymbolInGoogScope | Success | | 0.001 |
| ScopedAliasesTest | testScopedFunctionReturnThis | Success | | 0.001 |
| ScopedAliasesTest | testScopedFunctionAssignsToVar | Success | | 0.001 |
| ScopedAliasesTest | testScopedFunctionThrows | Success | | 0.001 |
| ScopedAliasesTest | testPropertiesNotChanged | Success | | 0.000 |
| ScopedAliasesTest | testShadowedVar | Success | | 0.001 |
| ScopedAliasesTest | testShadowedScopedVar | Success | | 0.003 |
| ScopedAliasesTest | testShadowedScopedVarTwoScopes | Success | | 0.001 |
| ScopedAliasesTest | testJsDocNotIgnored | Success | | 0.003 |
| ScopedAliasesTest | testUsingObjectLiteralToEscapeScoping | Success | | 0.001 |
| ScopedAliasesTest | testJsDocType | Success | | 0.001 |
| ScopedAliasesTest | testJsDocParameter | Success | | 0.001 |
| ScopedAliasesTest | testJsDocExtends | Success | | 0.000 |
| ScopedAliasesTest | testJsDocImplements | Success | | 0.001 |
| ScopedAliasesTest | testJsDocEnum | Success | | 0.000 |
| ScopedAliasesTest | testJsDocReturn | Success | | 0.000 |
| ScopedAliasesTest | testJsDocThis | Success | | 0.000 |
| ScopedAliasesTest | testJsDocThrows | Success | | 0.000 |
| ScopedAliasesTest | testJsDocSubType | Success | | 0.001 |
| ScopedAliasesTest | testJsDocTypedef | Success | | 0.000 |
| ScopedAliasesTest | testJsDocRecord | Success | | 0.001 |
| ScopedAliasesTest | testArrayJsDoc | Success | | 0.000 |
| ScopedAliasesTest | testObjectJsDoc | Success | | 0.001 |
| ScopedAliasesTest | testObjectJsDoc2 | Success | | 0.001 |
| ScopedAliasesTest | testUnionJsDoc | Success | | 0.000 |
| ScopedAliasesTest | testFunctionJsDoc | Success | | 0.002 |
| ScopedAliasesTest | testForwardJsDoc | Success | | 0.000 |
| ScopedAliasesTest | testTestTypes | Success | | 0.001 |
| ScopedAliasesTest | testScopedThis | Success | | 0.001 |
| ScopedAliasesTest | testAliasRedefinition | Success | | 0.000 |
| ScopedAliasesTest | testAliasNonRedefinition | Success | | 0.001 |
| ScopedAliasesTest | testCtorAlias | Success | | 0.001 |
| ScopedAliasesTest | testAliasCycle | Success | | 0.000 |
| ScopedAliasesTest | testScopedReturn | Success | | 0.001 |
| ScopedAliasesTest | testScopedThrow | Success | | 0.000 |
| ScopedAliasesTest | testUsedImproperly | Success | | 0.001 |
| ScopedAliasesTest | testBadParameters | Success | | 0.001 |
| ScopedAliasesTest | testNonAliasLocal | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateCall(AstValidator.java:654) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:278) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.ScopedAliasesTest.testScopedError(ScopedAliasesTest.java:531) at com.google.javascript.jscomp.ScopedAliasesTest.testNonAliasLocal(ScopedAliasesTest.java:597)
| 0.001 |
| ScopedAliasesTest | testOkAliasLocal | Success | | 0.003 |
| ScopedAliasesTest | testHoistedFunctionDeclaration | Success | | 0.001 |
| ScopedAliasesTest | testAliasReassign | Success | | 0.001 |
| ScopedAliasesTest | testMultipleLocals | Success | | 0.001 |
| ScopedAliasesTest | testIssue1103a | Success | | 0.001 |
| ScopedAliasesTest | testIssue1103b | Success | | 0.001 |
| ScopedAliasesTest | testIssue1103c | Success | | 0.001 |
| ScopedAliasesTest | testIssue1144 | Success | | 0.001 |
| ScopedAliasesTest | testTypeCheck | Success | | 0.002 |
| ScopedAliasesTest | testNoGoogScope | Success | | 0.001 |
| ScopedAliasesTest | testRecordOneAlias | Success | | 0.002 |
| ScopedAliasesTest | testRecordOneAlias2 | Success | | 0.000 |
| ScopedAliasesTest | testRecordMultipleAliases | Success | | 0.000 |
| ScopedAliasesTest | testRecordAliasFromMultipleGoogScope | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testInstanceOf | Success | | 0.002 |
| SemanticReverseAbstractInterpreterTest | testNameCondition | Success | | 0.001 |
| SemanticReverseAbstractInterpreterTest | testNegatedNameCondition | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testAssignCondition1 | Success | | 0.001 |
| SemanticReverseAbstractInterpreterTest | testSheqCondition1 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testSheqCondition2 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testSheqCondition3 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testSheqCondition4 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testSheqCondition5 | Success | | 0.001 |
| SemanticReverseAbstractInterpreterTest | testSheqCondition6 | Success | | 0.001 |
| SemanticReverseAbstractInterpreterTest | testShneCondition1 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testShneCondition2 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testShneCondition3 | Success | | 0.001 |
| SemanticReverseAbstractInterpreterTest | testShneCondition4 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testShneCondition5 | Success | | 0.001 |
| SemanticReverseAbstractInterpreterTest | testShneCondition6 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testEqCondition1 | Success | | 0.001 |
| SemanticReverseAbstractInterpreterTest | testEqCondition2 | Success | | 0.001 |
| SemanticReverseAbstractInterpreterTest | testEqCondition3 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testEqCondition4 | Success | | 0.001 |
| SemanticReverseAbstractInterpreterTest | testInequalitiesCondition1 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testInequalitiesCondition2 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testInequalitiesCondition3 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testAnd | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testTypeof1 | Success | | 0.001 |
| SemanticReverseAbstractInterpreterTest | testTypeof2 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testTypeof3 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testTypeof4 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testInstanceOf2 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testInstanceOf3 | Success | | 0.000 |
| SemanticReverseAbstractInterpreterTest | testInstanceOf4 | Success | | 0.000 |
| ShadowVariablesTest | testShadowSimple2 | Success | | 0.001 |
| ShadowVariablesTest | testShadowMostUsedVar | Success | | 0.001 |
| ShadowVariablesTest | testNoShadowReferencedVariables | Success | | 0.001 |
| ShadowVariablesTest | testNoShadowGlobalVariables | Success | | 0.000 |
| ShadowVariablesTest | testShadowBleedInFunctionName | Success | | 0.001 |
| ShadowVariablesTest | testNoShadowLessPopularName | Success | | 0.001 |
| ShadowVariablesTest | testShadowFunctionName | Success | | 0.000 |
| ShadowVariablesTest | testShadowLotsOfScopes1 | Success | | 0.001 |
| ShadowVariablesTest | testShadowBug1 | Success | | 0.001 |
| ShadowVariablesTest | testShadowSimple1 | Success | | 0.001 |
| ShadowVariablesTest | testShadowLotsOfScopes2 | Success | | 0.002 |
| ShadowVariablesTest | testShadowLotsOfScopes3 | Success | | 0.001 |
| ShadowVariablesTest | testShadowLotsOfScopes4 | Success | | 0.000 |
| ShadowVariablesTest | testShadowLotsOfScopes5 | Success | | 0.002 |
| ShadowVariablesTest | testShadowWithShadowAlready | Success | | 0.001 |
| ShadowVariablesTest | testOptimal | Success | | 0.001 |
| ShadowVariablesTest | testSharingAcrossInnerScopes | Success | | 0.001 |
| ShadowVariablesTest | testExportedLocal1 | Success | | 0.000 |
| ShadowVariablesTest | testExportedLocal2 | Success | | 0.001 |
| ShadowVariablesTest | testRenameMapHasNoDuplicates | Success | | 0.000 |
| ShadowVariablesTest | testBug4172539 | Success | | 0.001 |
| SideEffectsAnalysisTest | testDegenerateSafeMoves | Success | | 0.012 |
| SideEffectsAnalysisTest | testVisibilitySafeMoves | Success | | 0.013 |
| SideEffectsAnalysisTest | testDegenerateUnsafeMoves | Success | | 0.001 |
| SideEffectsAnalysisTest | testVisibilityUnsafeMoves | Success | | 0.006 |
| SideEffectsAnalysisTest | testVisibilityMoveCalls | Success | | 0.001 |
| SideEffectsAnalysisTest | testVisibilityMergesParametersWithHeap | Success | | 0.001 |
| SideEffectsAnalysisTest | testMovedSideEffectsMustHaveSameControlFlow | Success | | 0.006 |
| SimpleDefinitionFinderTest | testMultipleDefinition | Success | | 0.009 |
| SimpleDefinitionFinderTest | testDefineNumber | Success | | 0.003 |
| SimpleDefinitionFinderTest | testDefineGet | Success | | 0.001 |
| SimpleDefinitionFinderTest | testDefineSet | Success | | 0.000 |
| SimpleDefinitionFinderTest | testDefineFunction | Success | | 0.002 |
| SimpleDefinitionFinderTest | testFunctionArgumentsBasic | Success | | 0.000 |
| SimpleDefinitionFinderTest | testFunctionArgumentsInExterns | Success | | 0.000 |
| SimpleDefinitionFinderTest | testDefinitionInExterns | Success | | 0.003 |
| SimpleDefinitionFinderTest | testRecordDefinitionInExterns | Success | | 0.002 |
| SimpleDefinitionFinderTest | testUnitializedDefinitionInExterns | Success | | 0.000 |
| SimpleDefinitionFinderTest | testObjectLitInExterns | Success | | 0.001 |
| SimpleDefinitionFinderTest | testCallInExterns | Success | | 0.001 |
| SourceInformationAnnotatorTest | testPreserveAnnotatedName | Success | | 0.001 |
| SourceMapTest | testPrefixReplacement1 | Success | | 0.002 |
| SourceMapTest | testPrefixReplacement2 | Success | | 0.001 |
| SourceMapTest | testPrefixReplacement3 | Success | | 0.002 |
| SourceMapTest | testPrefixReplacement4 | Success | | 0.001 |
| StatementFusionTest | testNothingToDo | Success | | 0.002 |
| StatementFusionTest | testFoldBlockIntoIf | Success | | 0.003 |
| StatementFusionTest | testFoldBlockReturn | Success | | 0.002 |
| StatementFusionTest | testFoldBlockThrow | Success | | 0.001 |
| StatementFusionTest | testFoldSwitch | Success | | 0.000 |
| StatementFusionTest | testFuseIntoForIn1 | Success | | 0.000 |
| StatementFusionTest | testFoldBlockWithStatements | Success | | 0.003 |
| StatementFusionTest | testFuseIntoForIn2 | Success | | 0.000 |
| StatementFusionTest | testFuseIntoVanillaFor | Success | | 0.002 |
| StatementFusionTest | testFuseIntoLabel | Success | | 0.002 |
| StatementFusionTest | testFuseIntoBlock | Success | | 0.004 |
| StatementFusionTest | testNoFuseIntoWhile | Success | | 0.001 |
| StatementFusionTest | testNoFuseIntoDo | Success | | 0.001 |
| StatementFusionTest | testFavorComma1 | Success | | 0.000 |
| StatementFusionTest | testFavorComma2 | Success | | 0.001 |
| StatementFusionTest | testFavorComma3 | Success | | 0.001 |
| StatementFusionTest | testFavorComma4 | Success | | 0.001 |
| StatementFusionTest | testFavorComma5 | Success | | 0.002 |
| StatementFusionTest | testNoGlobalSchopeChanges | Success | | 0.001 |
| StatementFusionTest | testNoFunctionBlockChanges | Success | | 0.001 |
| StrictModeCheckTest | testUseOfWith2 | Success | | 0.001 |
| StrictModeCheckTest | testUseOfWith1 | Success | | 0.001 |
| StrictModeCheckTest | testUseOfWith3 | Error | Missing catch or finally for try statement.. Reference node:
TRY 2 [source_file: testcode]
BLOCK 2 [source_file: testcode]
WITH 3 [jsdoc_info: JSDocInfo] [source_file: testcode]
NAME context 3 [source_file: testcode]
BLOCK 3 [source_file: testcode]
RETURN 4 [source_file: testcode]
CALL 4 [free_call: 1] [source_file: testcode]
NAME eval 4 [direct_eval: 1] [source_file: testcode]
ADD 4 [source_file: testcode]
ADD 4 [source_file: testcode]
STRING [ 4 [source_file: testcode]
NAME expr 4 [source_file: testcode]
STRING ][0] 4 [source_file: testcode]
BLOCK 6 [source_file: testcode]
CATCH 6 [source_file: testcode]
NAME e 6 [source_file: testcode]
BLOCK 6 [source_file: testcode]
RETURN 7 [source_file: testcode]
NULL 7 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 2 [source_file: testcode] BLOCK 2 [source_file: testcode] WITH 3 [jsdoc_info: JSDocInfo] [source_file: testcode] NAME context 3 [source_file: testcode] BLOCK 3 [source_file: testcode] RETURN 4 [source_file: testcode] CALL 4 [free_call: 1] [source_file: testcode] NAME eval 4 [direct_eval: 1] [source_file: testcode] ADD 4 [source_file: testcode] ADD 4 [source_file: testcode] STRING [ 4 [source_file: testcode] NAME expr 4 [source_file: testcode] STRING ][0] 4 [source_file: testcode] BLOCK 6 [source_file: testcode] CATCH 6 [source_file: testcode] NAME e 6 [source_file: testcode] BLOCK 6 [source_file: testcode] RETURN 7 [source_file: testcode] NULL 7 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.StrictModeCheckTest.testUseOfWith3(StrictModeCheckTest.java:56)
| 0.000 |
| StrictModeCheckTest | testEval2 | Success | | 0.000 |
| StrictModeCheckTest | testEval3 | Success | | 0.000 |
| StrictModeCheckTest | testEval4 | Success | | 0.000 |
| StrictModeCheckTest | testEval5 | Success | | 0.001 |
| StrictModeCheckTest | testEval6 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME eval 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME eval 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.StrictModeCheckTest.testEval6(StrictModeCheckTest.java:87)
| 0.001 |
| StrictModeCheckTest | testEval7 | Success | | 0.004 |
| StrictModeCheckTest | testEval8 | Success | | 0.002 |
| StrictModeCheckTest | testUnknownVariable | Success | | 0.001 |
| StrictModeCheckTest | testUnknownVariable2 | Success | | 0.001 |
| StrictModeCheckTest | testUnknownVariable3 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME ex 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME ex 1 [source_file: testcode]
NUMBER 3.0 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME ex 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME ex 1 [source_file: testcode] NUMBER 3.0 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.StrictModeCheckTest.testUnknownVariable3(StrictModeCheckTest.java:107)
| 0.000 |
| StrictModeCheckTest | testArguments2 | Success | | 0.000 |
| StrictModeCheckTest | testArguments3 | Success | | 0.001 |
| StrictModeCheckTest | testArguments4 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME arguments 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME arguments 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:752) at com.google.javascript.jscomp.StrictModeCheckTest.testArguments4(StrictModeCheckTest.java:126)
| 0.001 |
| StrictModeCheckTest | testArguments5 | Success | | 0.001 |
| StrictModeCheckTest | testArgumentsCallee | Success | | 0.001 |
| StrictModeCheckTest | testArgumentsCaller | Success | | 0.001 |
| StrictModeCheckTest | testFunctionCallerProp | Success | | 0.001 |
| StrictModeCheckTest | testFunctionArgumentsProp | Success | | 0.001 |
| StrictModeCheckTest | testEvalAssignment | Success | | 0.001 |
| StrictModeCheckTest | testAssignToArguments | Success | | 0.001 |
| StrictModeCheckTest | testDeleteVar | Success | | 0.001 |
| StrictModeCheckTest | testDeleteFunction | Success | | 0.000 |
| StrictModeCheckTest | testDeleteArgument | Success | | 0.001 |
| StrictModeCheckTest | testDeleteProperty | Success | | 0.001 |
| StrictModeCheckTest | testAllowNumbersAsObjlitKeys | Success | | 0.001 |
| StrictModeCheckTest | testDuplicateObjectLiteralKey | Success | | 0.007 |
| StrictModeCheckTest | testFunctionDecl | Success | | 0.009 |
| StrictModeCheckTest | testFunctionDecl2 | Success | | 0.001 |
| StrictModeCheckTest | testArguments | Success | | 0.001 |
| StripCodeTest | testLoggerDefinedInConstructor | Success | | 0.000 |
| StripCodeTest | testLoggerDefinedInPrototype1 | Success | | 0.001 |
| StripCodeTest | testLoggerDefinedInPrototype2 | Success | | 0.001 |
| StripCodeTest | testLoggerDefinedInPrototype3 | Success | | 0.000 |
| StripCodeTest | testLoggerDefinedInPrototype4 | Success | | 0.001 |
| StripCodeTest | testLoggerDefinedInPrototype5 | Success | | 0.001 |
| StripCodeTest | testLoggerDefinedStatically | Success | | 0.001 |
| StripCodeTest | testLoggerDefinedInObjectLiteral1 | Success | | 0.001 |
| StripCodeTest | testLoggerDefinedInObjectLiteral2 | Success | | 0.001 |
| StripCodeTest | testLoggerDefinedInObjectLiteral3 | Success | | 0.000 |
| StripCodeTest | testLoggerDefinedInObjectLiteral4 | Success | | 0.000 |
| StripCodeTest | testLoggerDefinedInPrototypeAndUsedInConstructor | Success | | 0.000 |
| StripCodeTest | testLoggerDefinedStaticallyAndUsedInConstructor | Success | | 0.001 |
| StripCodeTest | testLoggerVarDeclaration | Success | | 0.001 |
| StripCodeTest | testLoggerMethodCallByVariableType | Success | | 0.000 |
| StripCodeTest | testSubPropertyAccessByVariableName | Success | | 0.000 |
| StripCodeTest | testPrefixedVariableName | Success | | 0.001 |
| StripCodeTest | testPrefixedPropertyName | Success | | 0.001 |
| StripCodeTest | testPrefixedClassName | Success | | 0.001 |
| StripCodeTest | testLoggerClassDefinition | Success | | 0.001 |
| StripCodeTest | testStaticLoggerPropertyDefinition | Success | | 0.001 |
| StripCodeTest | testStaticLoggerMethodDefinition | Success | | 0.000 |
| StripCodeTest | testPrototypeFieldDefinition | Success | | 0.000 |
| StripCodeTest | testPrototypeFieldDefinitionWithoutAssignment | Success | | 0.001 |
| StripCodeTest | testPrototypeMethodDefinition | Success | | 0.001 |
| StripCodeTest | testPublicPropertyAssignment | Success | | 0.002 |
| StripCodeTest | testGlobalCallWithStrippedType | Success | | 0.000 |
| StripCodeTest | testClassDefiningCallWithStripType1 | Success | | 0.001 |
| StripCodeTest | testClassDefiningCallWithStripType2 | Failure |
Expected: goog.formatter=function(){}
Result: goog.formatter=function(){};goog.inherits(goog.debug.Formatter,goog.formatter)
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING formatter 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING formatter 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING inherits 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING debug 1 [source_file: testcode]
STRING Formatter 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING formatter 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME goog 1 [source_file: expected0]
STRING formatter 1 [source_file: expected0]
FUNCTION 1 [source_file: expected0]
NAME 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING formatter 1 [source_file: testcode]
FUNCTION 1 [source_file: testcode]
NAME 1 [source_file: testcode]
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING inherits 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING debug 1 [source_file: testcode]
STRING Formatter 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING formatter 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: goog.formatter=function(){} Result: goog.formatter=function(){};goog.inherits(goog.debug.Formatter,goog.formatter) Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING formatter 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING formatter 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING inherits 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING debug 1 [source_file: testcode] STRING Formatter 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING formatter 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0] EXPR_RESULT 1 [source_file: expected0] ASSIGN 1 [source_file: expected0] GETPROP 1 [source_file: expected0] NAME goog 1 [source_file: expected0] STRING formatter 1 [source_file: expected0] FUNCTION 1 [source_file: expected0] NAME 1 [source_file: expected0] PARAM_LIST 1 [source_file: expected0] BLOCK 1 [source_file: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING formatter 1 [source_file: testcode] FUNCTION 1 [source_file: testcode] NAME 1 [source_file: testcode] PARAM_LIST 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING inherits 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING debug 1 [source_file: testcode] STRING Formatter 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING formatter 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.StripCodeTest.testClassDefiningCallWithStripType2(StripCodeTest.java:275)
| 0.001 |
| StripCodeTest | testClassDefiningCallWithStripType3 | Success | | 0.001 |
| StripCodeTest | testClassDefiningCallWithStripType4 | Success | | 0.001 |
| StripCodeTest | testClassDefiningCallWithStripType5 | Success | | 0.001 |
| StripCodeTest | testClassDefiningCallWithStripType6 | Success | | 0.001 |
| StripCodeTest | testClassDefiningCallWithStripType7 | Failure | Unexpected error(s): JSC_STRIP_TYPE_INHERIT_ERROR. Non-strip type goog cannot inherit from strip type goog.debug.Formatter at testcode line 1 : 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Unexpected error(s): JSC_STRIP_TYPE_INHERIT_ERROR. Non-strip type goog cannot inherit from strip type goog.debug.Formatter at testcode line 1 : 0 expected:<0> but was:<1> at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1070) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.StripCodeTest.testClassDefiningCallWithStripType7(StripCodeTest.java:304)
| 0.001 |
| StripCodeTest | testClassDefiningCallWithStripType8 | Failure |
Expected:
Result: goog.inherits(goog.debug.DebugWindow,Base)
Node tree inequality:
Expected tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING inherits 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING debug 1 [source_file: testcode]
STRING DebugWindow 1 [source_file: testcode]
NAME Base 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING inherits 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
GETPROP 1 [source_file: testcode]
NAME goog 1 [source_file: testcode]
STRING debug 1 [source_file: testcode]
STRING DebugWindow 1 [source_file: testcode]
NAME Base 1 [source_file: testcode]
junit.framework.AssertionFailedError: Expected: Result: goog.inherits(goog.debug.DebugWindow,Base) Node tree inequality: Expected tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual tree: BLOCK [synthetic: 1] SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING inherits 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING debug 1 [source_file: testcode] STRING DebugWindow 1 [source_file: testcode] NAME Base 1 [source_file: testcode]
Expected subtree: SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
Actual subtree: SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING inherits 1 [source_file: testcode] GETPROP 1 [source_file: testcode] GETPROP 1 [source_file: testcode] NAME goog 1 [source_file: testcode] STRING debug 1 [source_file: testcode] STRING DebugWindow 1 [source_file: testcode] NAME Base 1 [source_file: testcode]
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:1161) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.StripCodeTest.testClassDefiningCallWithStripType8(StripCodeTest.java:310)
| 0.001 |
| StripCodeTest | testPropertyWithEmptyStringKey | Success | | 0.001 |
| StripCodeTest | testVarinIf | Success | | 0.000 |
| StripCodeTest | testGetElemInIf | Success | | 0.001 |
| StripCodeTest | testAssignInIf | Success | | 0.000 |
| StripCodeTest | testNamePrefix | Success | | 0.001 |
| StripCodeTest | testTypePrefix | Success | | 0.000 |
| StripCodeTest | testStripCallsToStrippedNames1 | Success | | 0.001 |
| StripCodeTest | testStripCallsToStrippedNames2 | Success | | 0.000 |
| StripCodeTest | testStripCallsToStrippedNames3 | Success | | 0.001 |
| StripCodeTest | testStripCallsToStrippedNames4 | Success | | 0.000 |
| StripCodeTest | testStripVarsInitializedFromStrippedNames1 | Success | | 0.001 |
| StripCodeTest | testStripVarsInitializedFromStrippedNames2 | Success | | 0.000 |
| StripCodeTest | testReportErrorOnStripInNestedAssignment | Success | | 0.000 |
| StripCodeTest | testNewOperatior1 | Success | | 0.001 |
| StripCodeTest | testNewOperatior2 | Success | | 0.001 |
| StripCodeTest | testNewOperatior3 | Success | | 0.001 |
| StripCodeTest | testCrazyNesting1 | Success | | 0.001 |
| StripCodeTest | testCrazyNesting2 | Success | | 0.001 |
| StripCodeTest | testCrazyNesting3 | Success | | 0.000 |
| StripCodeTest | testCrazyNesting4 | Success | | 0.000 |
| StripCodeTest | testCrazyNesting5 | Success | | 0.001 |
| StripCodeTest | testNamespace1 | Success | | 0.001 |
| StripCodeTest | testMethodCallTriggersRemoval | Success | | 0.001 |
| StripCodeTest | testRemoveExpressionByName | Success | | 0.000 |
| SymbolTableTest | testGoogRequireReferences | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:1:29
var goog = {};goog.provide = function() {};goog.require = function() {};goog.provide('goog.dom');goog.require('goog.dom');
Parent(ASSIGN): in1:1:14
var goog = {};goog.provide = function() {};goog.require = function() {};goog.provide('goog.dom');goog.require('goog.dom');
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:1:29 var goog = {};goog.provide = function() {};goog.require = function() {};goog.provide('goog.dom');goog.require('goog.dom'); Parent(ASSIGN): in1:1:14 var goog = {};goog.provide = function() {};goog.require = function() {};goog.provide('goog.dom');goog.require('goog.dom');
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.003 |
| SymbolTableTest | testGlobalVar | Success | | 0.022 |
| SymbolTableTest | testLocalVarReferences | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): in1:1:0
function f(x) { return x; }
Parent(SCRIPT): in1:1:0
function f(x) { return x; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): in1:1:0 function f(x) { return x; } Parent(SCRIPT): in1:1:0 function f(x) { return x; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| SymbolTableTest | testLocalThisReferences | Success | | 0.005 |
| SymbolTableTest | testLocalThisReferences2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:1:57
/** @constructor */ function F() {}F.prototype.baz = function() { this.foo = 3; this.bar = 5; };
Parent(ASSIGN): in1:1:35
/** @constructor */ function F() {}F.prototype.baz = function() { this.foo = 3; this.bar = 5; };
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:1:57 /** @constructor */ function F() {}F.prototype.baz = function() { this.foo = 3; this.bar = 5; }; Parent(ASSIGN): in1:1:35 /** @constructor */ function F() {}F.prototype.baz = function() { this.foo = 3; this.bar = 5; };
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.001 |
| SymbolTableTest | testLocalThisReferences3 | Success | | 0.005 |
| SymbolTableTest | testNamespacedReferences | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:1:49
var goog = {};goog.dom = {};goog.dom.DomHelper = function(){};
Parent(ASSIGN): in1:1:28
var goog = {};goog.dom = {};goog.dom.DomHelper = function(){};
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:1:49 var goog = {};goog.dom = {};goog.dom.DomHelper = function(){}; Parent(ASSIGN): in1:1:28 var goog = {};goog.dom = {};goog.dom.DomHelper = function(){};
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| SymbolTableTest | testIncompleteNamespacedReferences | Success | | 0.007 |
| SymbolTableTest | testGlobalRichObjectReference | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION g): in1:5:0
function g() {
Parent(SCRIPT): in1:2:0
function A(){};
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION g): in1:5:0 function g() { Parent(SCRIPT): in1:2:0 function A(){};
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| SymbolTableTest | testRemovalOfNamespacedReferencesOfProperties | Success | | 0.010 |
| SymbolTableTest | testGoogScopeReferences | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:1:27
var goog = {};goog.scope = function() {};goog.scope(function() {});
Parent(ASSIGN): in1:1:14
var goog = {};goog.scope = function() {};goog.scope(function() {});
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:1:27 var goog = {};goog.scope = function() {};goog.scope(function() {}); Parent(ASSIGN): in1:1:14 var goog = {};goog.scope = function() {};goog.scope(function() {});
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.004 |
| SymbolTableTest | testGoogRequireReferences2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:1:10
foo.bar = function(){}; // definition
Parent(ASSIGN): in1:1:0
foo.bar = function(){}; // definition
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:1:10 foo.bar = function(){}; // definition Parent(ASSIGN): in1:1:0 foo.bar = function(){}; // definition
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.001 |
| SymbolTableTest | testGlobalVarInExterns | Success | | 0.007 |
| SymbolTableTest | testLocalVarInExterns | Success | | 0.008 |
| SymbolTableTest | testSymbolsForType | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION random): in1:1:0
function random() { return 1; }/** @constructor */ function Foo() {}/** @constructor */ function Bar() {}var x = random() ? new Foo() : new Bar();
Parent(SCRIPT): in1:1:0
function random() { return 1; }/** @constructor */ function Foo() {}/** @constructor */ function Bar() {}var x = random() ? new Foo() : new Bar();
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION random): in1:1:0 function random() { return 1; }/** @constructor */ function Foo() {}/** @constructor */ function Bar() {}var x = random() ? new Foo() : new Bar(); Parent(SCRIPT): in1:1:0 function random() { return 1; }/** @constructor */ function Foo() {}/** @constructor */ function Bar() {}var x = random() ? new Foo() : new Bar();
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| SymbolTableTest | testMethodReferences | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): in1:1:106
/** @constructor */ var DomHelper = function(){};/** method */ DomHelper.prototype.method = function() {};function f() { (new DomHelper()).method(); (new DomHelper()).method(); };
Parent(SCRIPT): in1:1:20
/** @constructor */ var DomHelper = function(){};/** method */ DomHelper.prototype.method = function() {};function f() { (new DomHelper()).method(); (new DomHelper()).method(); };
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): in1:1:106 /** @constructor */ var DomHelper = function(){};/** method */ DomHelper.prototype.method = function() {};function f() { (new DomHelper()).method(); (new DomHelper()).method(); }; Parent(SCRIPT): in1:1:20 /** @constructor */ var DomHelper = function(){};/** method */ DomHelper.prototype.method = function() {};function f() { (new DomHelper()).method(); (new DomHelper()).method(); };
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| SymbolTableTest | testGlobalThisReferences | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): in1:1:14
var x = this; function f() { return this + this + this; }
Parent(SCRIPT): in1:1:0
var x = this; function f() { return this + this + this; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): in1:1:14 var x = this; function f() { return this + this + this; } Parent(SCRIPT): in1:1:0 var x = this; function f() { return this + this + this; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.001 |
| SymbolTableTest | testGlobalThisReferences2 | Success | | 0.006 |
| SymbolTableTest | testGlobalThisReferences3 | Success | | 0.018 |
| SymbolTableTest | testGlobalThisPropertyReferences | Success | | 0.010 |
| SymbolTableTest | testGlobalVarReferences | Success | | 0.007 |
| SymbolTableTest | testStaticMethodReferences | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): in1:1:96
/** @constructor */ var DomHelper = function(){};/** method */ DomHelper.method = function() {};function f() { var x = DomHelper; x.method() + x.method(); }
Parent(SCRIPT): in1:1:20
/** @constructor */ var DomHelper = function(){};/** method */ DomHelper.method = function() {};function f() { var x = DomHelper; x.method() + x.method(); }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): in1:1:96 /** @constructor */ var DomHelper = function(){};/** method */ DomHelper.method = function() {};function f() { var x = DomHelper; x.method() + x.method(); } Parent(SCRIPT): in1:1:20 /** @constructor */ var DomHelper = function(){};/** method */ DomHelper.method = function() {};function f() { var x = DomHelper; x.method() + x.method(); }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.020 |
| SymbolTableTest | testSuperClassMethodReferences | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:1:30
var goog = {};goog.inherits = function(a, b) {};/** @constructor */ var A = function(){};/** method */ A.prototype.method = function() {};/**
Parent(ASSIGN): in1:1:14
var goog = {};goog.inherits = function(a, b) {};/** @constructor */ var A = function(){};/** method */ A.prototype.method = function() {};/**
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:1:30 var goog = {};goog.inherits = function(a, b) {};/** @constructor */ var A = function(){};/** method */ A.prototype.method = function() {};/** Parent(ASSIGN): in1:1:14 var goog = {};goog.inherits = function(a, b) {};/** @constructor */ var A = function(){};/** method */ A.prototype.method = function() {};/**
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.006 |
| SymbolTableTest | testMethodReferencesMissingTypeInfo | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): in1:8:0
function f() { (new DomHelper()).method();
Parent(SCRIPT): in1:4:4
*/ var DomHelper = function(){};
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): in1:8:0 function f() { (new DomHelper()).method(); Parent(SCRIPT): in1:4:4 */ var DomHelper = function(){};
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.003 |
| SymbolTableTest | testFieldReferencesMissingTypeInfo | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): in1:6:0
function f() {
Parent(SCRIPT): in1:4:4
*/ var DomHelper = function(){ this.prop = 1; };
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): in1:6:0 function f() { Parent(SCRIPT): in1:4:4 */ var DomHelper = function(){ this.prop = 1; };
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.004 |
| SymbolTableTest | testFieldReferences | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): in1:1:88
/** @constructor */ var DomHelper = function(){ /** @type {number} */ this.field = 3;};function f() { return (new DomHelper()).field + (new DomHelper()).field; };
Parent(SCRIPT): in1:1:20
/** @constructor */ var DomHelper = function(){ /** @type {number} */ this.field = 3;};function f() { return (new DomHelper()).field + (new DomHelper()).field; };
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): in1:1:88 /** @constructor */ var DomHelper = function(){ /** @type {number} */ this.field = 3;};function f() { return (new DomHelper()).field + (new DomHelper()).field; }; Parent(SCRIPT): in1:1:20 /** @constructor */ var DomHelper = function(){ /** @type {number} */ this.field = 3;};function f() { return (new DomHelper()).field + (new DomHelper()).field; };
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.014 |
| SymbolTableTest | testUndeclaredFieldReferences | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:1:78
/** @constructor */ var DomHelper = function(){};DomHelper.prototype.method = function() { this.field = 3; return x.field;}
Parent(ASSIGN): in1:1:49
/** @constructor */ var DomHelper = function(){};DomHelper.prototype.method = function() { this.field = 3; return x.field;}
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:1:78 /** @constructor */ var DomHelper = function(){};DomHelper.prototype.method = function() { this.field = 3; return x.field;} Parent(ASSIGN): in1:1:49 /** @constructor */ var DomHelper = function(){};DomHelper.prototype.method = function() { this.field = 3; return x.field;}
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| SymbolTableTest | testPrototypeReferences | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:1:72
/** @constructor */ function DomHelper() {}DomHelper.prototype.method = function() {};
Parent(ASSIGN): in1:1:43
/** @constructor */ function DomHelper() {}DomHelper.prototype.method = function() {};
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:1:72 /** @constructor */ function DomHelper() {}DomHelper.prototype.method = function() {}; Parent(ASSIGN): in1:1:43 /** @constructor */ function DomHelper() {}DomHelper.prototype.method = function() {};
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.008 |
| SymbolTableTest | testPrototypeReferences2 | Success | | 0.007 |
| SymbolTableTest | testPrototypeReferences3 | Success | | 0.006 |
| SymbolTableTest | testPrototypeReferences4 | Success | | 0.006 |
| SymbolTableTest | testPrototypeReferences5 | Success | | 0.006 |
| SymbolTableTest | testReferencesInJSDocType | Success | | 0.006 |
| SymbolTableTest | testReferencesInJSDocType2 | Success | | 0.009 |
| SymbolTableTest | testDottedReferencesInJSDocType | Success | | 0.010 |
| SymbolTableTest | testReferencesInJSDocName | Success | | 0.007 |
| SymbolTableTest | testLocalQualifiedNamesInLocalScopes | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION f): in1:1:0
function f() { var x = {}; x.number = 3; }
Parent(SCRIPT): in1:1:0
function f() { var x = {}; x.number = 3; }
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION f): in1:1:0 function f() { var x = {}; x.number = 3; } Parent(SCRIPT): in1:1:0 function f() { var x = {}; x.number = 3; }
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.005 |
| SymbolTableTest | testNaturalSymbolOrdering | Success | | 0.006 |
| SymbolTableTest | testDeclarationDisagreement | Success | | 0.016 |
| SymbolTableTest | testMultipleExtends | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:2:16
goog.inherits = function(x, y) {};
Parent(ASSIGN): in1:2:0
goog.inherits = function(x, y) {};
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:2:16 goog.inherits = function(x, y) {}; Parent(ASSIGN): in1:2:0 goog.inherits = function(x, y) {};
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.003 |
| SymbolTableTest | testJSDocAssociationWithBadNamespace | Success | | 0.008 |
| SymbolTableTest | testMissingConstructorTag | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION F): in1:1:0
function F() { this.field1 = 3;}F.prototype.method1 = function() { this.field1 = 5;};(new F()).method1();
Parent(SCRIPT): in1:1:0
function F() { this.field1 = 3;}F.prototype.method1 = function() { this.field1 = 5;};(new F()).method1();
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION F): in1:1:0 function F() { this.field1 = 3;}F.prototype.method1 = function() { this.field1 = 5;};(new F()).method1(); Parent(SCRIPT): in1:1:0 function F() { this.field1 = 3;}F.prototype.method1 = function() { this.field1 = 5;};(new F()).method1();
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.002 |
| SymbolTableTest | testTypeCheckingOff | Success | | 0.004 |
| SymbolTableTest | testSuperClassReference | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:4:38
a.b.BaseClass.prototype.doSomething = function() {
Parent(ASSIGN): in1:4:0
a.b.BaseClass.prototype.doSomething = function() {
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:4:38 a.b.BaseClass.prototype.doSomething = function() { Parent(ASSIGN): in1:4:0 a.b.BaseClass.prototype.doSomething = function() {
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.005 |
| SymbolTableTest | testInnerEnum | Success | | 0.008 |
| SymbolTableTest | testMethodInAnonObject1 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:1:30
var a = {}; a.b = {}; a.b.c = function() {};
Parent(ASSIGN): in1:1:22
var a = {}; a.b = {}; a.b.c = function() {};
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:1:30 var a = {}; a.b = {}; a.b.c = function() {}; Parent(ASSIGN): in1:1:22 var a = {}; a.b = {}; a.b.c = function() {};
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.003 |
| SymbolTableTest | testMethodInAnonObject2 | Error | INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(FUNCTION ): in1:1:16
var a = {b: {c: function() {}}};
Parent(STRING_KEY c): in1:1:13
var a = {b: {c: function() {}}};
java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please report this problem.
null Node(FUNCTION ): in1:1:16 var a = {b: {c: function() {}}}; Parent(STRING_KEY c): in1:1:13 var a = {b: {c: function() {}}};
at com.google.javascript.jscomp.CheckGlobalThis.shouldTraverse(CheckGlobalThis.java:94) at com.google.javascript.jscomp.CombinedCompilerPass$CallbackWrapper.shouldTraverseIfActive(CombinedCompilerPass.java:130) at com.google.javascript.jscomp.CombinedCompilerPass.shouldTraverse(CombinedCompilerPass.java:165) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:557) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:570) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289) at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528) at com.google.javascript.jscomp.CombinedCompilerPass.process(CombinedCompilerPass.java:154) at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285) at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217) at com.google.javascript.jscomp.Compiler.check(Compiler.java:844) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656) at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653) at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException
| 0.015 |
| SymbolTableTest | testJSDocOnlySymbol | Success | | 0.008 |
| SymbolTableTest | testNamespaceDefinitionOrder | Success | | 0.007 |
| SymbolTableTest | testConstructorAlias | Success | | 0.016 |
| SymbolTableTest | testSymbolForScopeOfNatives | Success | | 0.009 |
| SymbolTableTest | testJSDocNameVisibility | Success | | 0.018 |
| SymbolTableTest | testJSDocNameVisibilityWithFileOverviewVisibility | Success | | 0.015 |
| SymbolTableTest | testJSDocPropertyVisibility | Success | | 0.008 |
| SymbolTableTest | testJSDocPropertyVisibilityWithFileOverviewVisibility | Success | | 0.011 |
| SyntacticScopeCreatorTest | testFunctionScope | Success | | 0.005 |
| SyntacticScopeCreatorTest | testScopeRootNode | Success | | 0.001 |
| TemplateAstMatcherTest | testMatches_primitives | Success | | 0.029 |
| TemplateAstMatcherTest | testMatches_varDeclarations | Success | | 0.012 |
| TemplateAstMatcherTest | testMatches_templateParameterType | Success | | 0.014 |
| TemplateAstMatcherTest | testMatches_functionCall | Success | | 0.004 |
| TemplateAstMatcherTest | testMatches_functionCallWithArguments | Success | | 0.025 |
| TemplateAstMatcherTest | testMatches_methodCall | Success | | 0.005 |
| TemplateAstMatcherTest | testMatches_methodCallWithArguments | Success | | 0.014 |
| TemplateAstMatcherTest | testMatches_instantiation | Success | | 0.003 |
| TemplateAstMatcherTest | testMatches_propertyAccess | Success | | 0.002 |
| TemplateAstMatcherTest | testMatches_multiLineTemplates | Success | | 0.009 |
| TemplateAstMatcherTest | testMatches_subclasses | Success | | 0.003 |
| TemplateAstMatcherTest | testMatches_nonDefaultStrategy | Success | | 0.004 |
| TransformAMDToCJSModuleTest | testObjectLit | Success | | 0.001 |
| TransformAMDToCJSModuleTest | testDefine | Success | | 0.009 |
| TransformAMDToCJSModuleTest | testDefineOnlyFunction | Success | | 0.001 |
| TransformAMDToCJSModuleTest | testPlugins | Success | | 0.006 |
| TransformAMDToCJSModuleTest | testUnsupportedForms | Success | | 0.006 |
| TransformAMDToCJSModuleTest | testLocalDefine | Success | | 0.001 |
| TransformAMDToCJSModuleTest | testVarRenaming | Success | | 0.005 |
| TypeCheckFunctionCheckTest | testWrongNumberOfArgs | Success | | 0.007 |
| TypeCheckFunctionCheckTest | testFunctionAritySimple | Success | | 0.010 |
| TypeCheckFunctionCheckTest | testFunctionArityWithOptionalArgs | Success | | 0.009 |
| TypeCheckFunctionCheckTest | testFunctionArityWithVarArgs | Success | | 0.007 |
| TypeCheckFunctionCheckTest | testVarArgsLast | Success | | 0.001 |
| TypeCheckFunctionCheckTest | testOptArgsLast | Success | | 0.002 |
| TypeCheckFunctionCheckTest | testFunctionsWithJsDoc1 | Success | | 0.001 |
| TypeCheckFunctionCheckTest | testFunctionsWithJsDoc2 | Success | | 0.001 |
| TypeCheckFunctionCheckTest | testFunctionsWithJsDoc3 | Success | | 0.001 |
| TypeCheckFunctionCheckTest | testFunctionsWithJsDoc4 | Success | | 0.001 |
| TypeCheckFunctionCheckTest | testFunctionsWithJsDoc5 | Success | | 0.001 |
| TypeCheckFunctionCheckTest | testFunctionsWithJsDoc6 | Success | | 0.002 |
| TypeCheckFunctionCheckTest | testFunctionsWithJsDoc7 | Success | | 0.002 |
| TypeCheckFunctionCheckTest | testFunctionWithDefaultCodingConvention | Success | | 0.003 |
| TypeCheckFunctionCheckTest | testMethodCalls | Success | | 0.008 |
| TypeCheckTest | testHook | Success | | 0.002 |
| TypeCheckTest | testComparison2 | Success | | 0.002 |
| TypeCheckTest | testComparison3 | Success | | 0.002 |
| TypeCheckTest | testComparison4 | Success | | 0.001 |
| TypeCheckTest | testObjectLiteral | Success | | 0.001 |
| TypeCheckTest | testGlobalThis1 | Success | | 0.002 |
| TypeCheckTest | testGlobalThis2 | Success | | 0.002 |
| TypeCheckTest | testGlobalThis3 | Success | | 0.002 |
| TypeCheckTest | testGlobalThis4 | Success | | 0.002 |
| TypeCheckTest | testGlobalThis5 | Success | | 0.002 |
| TypeCheckTest | testGlobalThis6 | Failure | unexpected warnings(s):
JSC_TYPE_MISMATCH. assignment
found : string
required: number at [testcode] line 1 : 66
JSC_TYPE_MISMATCH. actual parameter 1 of global this.alert does not match formal parameter
found : number
required: string at [testcode] line 1 : 87
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_TYPE_MISMATCH. assignment found : string required: number at [testcode] line 1 : 66 JSC_TYPE_MISMATCH. actual parameter 1 of global this.alert does not match formal parameter found : number required: string at [testcode] line 1 : 87 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testGlobalThis6(TypeCheckTest.java:6130)
| 0.002 |
| TypeCheckTest | testGlobalThis7 | Success | | 0.002 |
| TypeCheckTest | testInnerFunction1 | Success | | 0.003 |
| TypeCheckTest | testInnerFunction2 | Failure | expected:<[inconsistent return type
found : (null|number)
required: number]> but was:<[assignment
found : number
required: null]>
junit.framework.ComparisonFailure: expected:<[inconsistent return type found : (null|number) required: number]> but was:<[assignment found : number required: null]> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testInnerFunction2(TypeCheckTest.java:1936)
| 0.002 |
| TypeCheckTest | testInnerFunction3 | Failure | expected:<[inconsistent return type
found : boolean
required: number]> but was:<[assignment
found : number
required: null]>
junit.framework.ComparisonFailure: expected:<[inconsistent return type found : boolean required: number]> but was:<[assignment found : number required: null]> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testInnerFunction3(TypeCheckTest.java:1950)
| 0.002 |
| TypeCheckTest | testInnerFunction4 | Failure | expected:<[inconsistent return type
found : string
required: number]> but was:<[assignment
found : string
required: null]>
junit.framework.ComparisonFailure: expected:<[inconsistent return type found : string required: number]> but was:<[assignment found : string required: null]> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testInnerFunction4(TypeCheckTest.java:1965)
| 0.002 |
| TypeCheckTest | testTypeof | Success | | 0.002 |
| TypeCheckTest | testInterfaceNonEmptyFunction | Success | | 0.001 |
| TypeCheckTest | testCall1 | Success | | 0.002 |
| TypeCheckTest | testCall2 | Success | | 0.002 |
| TypeCheckTest | testAssign1 | Success | | 0.002 |
| TypeCheckTest | testAssign2 | Success | | 0.003 |
| TypeCheckTest | testAssign3 | Success | | 0.002 |
| TypeCheckTest | testAssign4 | Success | | 0.002 |
| TypeCheckTest | testForIn1 | Success | | 0.002 |
| TypeCheckTest | testForIn2 | Success | | 0.003 |
| TypeCheckTest | testInitialTypingScope | Success | | 0.001 |
| TypeCheckTest | testPrivateType | Success | | 0.002 |
| TypeCheckTest | testTypeCheck1 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck2 | Success | | 0.003 |
| TypeCheckTest | testTypeCheck4 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck5 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck6 | Success | | 0.003 |
| TypeCheckTest | testTypeCheck8 | Success | | 0.003 |
| TypeCheckTest | testTypeCheck9 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck10 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck11 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck12 | Success | | 0.001 |
| TypeCheckTest | testTypeCheck13 | Success | | 0.003 |
| TypeCheckTest | testTypeCheck14 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck15 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck16 | Success | | 0.003 |
| TypeCheckTest | testTypeCheck17 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck18 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck19 | Success | | 0.001 |
| TypeCheckTest | testTypeCheck20 | Success | | 0.001 |
| TypeCheckTest | testTypeCheckBasicDowncast | Success | | 0.001 |
| TypeCheckTest | testTypeCheckNoDowncastToNumber | Success | | 0.003 |
| TypeCheckTest | testTypeCheck21 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck22 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck23 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck24 | Success | | 0.003 |
| TypeCheckTest | testTypeCheck25 | Success | | 0.003 |
| TypeCheckTest | testTypeCheck26 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck27 | Success | | 0.002 |
| TypeCheckTest | testTypeCheck28 | Success | | 0.002 |
| TypeCheckTest | testTypeCheckInlineReturns | Success | | 0.003 |
| TypeCheckTest | testTypeCheckDefaultExterns | Success | | 0.004 |
| TypeCheckTest | testTypeCheckCustomExterns | Success | | 0.003 |
| TypeCheckTest | testTypeCheckCustomExterns2 | Success | | 0.003 |
| TypeCheckTest | testTemplatizedArray1 | Success | | 0.003 |
| TypeCheckTest | testTemplatizedArray2 | Success | | 0.003 |
| TypeCheckTest | testTemplatizedArray3 | Success | | 0.003 |
| TypeCheckTest | testTemplatizedArray4 | Success | | 0.010 |
| TypeCheckTest | testTemplatizedArray5 | Success | | 0.007 |
| TypeCheckTest | testTemplatizedArray6 | Success | | 0.002 |
| TypeCheckTest | testTemplatizedArray7 | Success | | 0.008 |
| TypeCheckTest | testTemplatizedObject1 | Success | | 0.002 |
| TypeCheckTest | testTemplatizedObject2 | Success | | 0.001 |
| TypeCheckTest | testTemplatizedObject3 | Success | | 0.002 |
| TypeCheckTest | testTemplatizedObject4 | Success | | 0.002 |
| TypeCheckTest | testTemplatizedObject5 | Success | | 0.001 |
| TypeCheckTest | testUnionOfFunctionAndType | Success | | 0.001 |
| TypeCheckTest | testOptionalParameterComparedToUndefined | Success | | 0.002 |
| TypeCheckTest | testOptionalAllType | Success | | 0.001 |
| TypeCheckTest | testOptionalUnknownNamedType | Success | | 0.002 |
| TypeCheckTest | testOptionalArgFunctionParam | Success | | 0.002 |
| TypeCheckTest | testOptionalArgFunctionParam2 | Success | | 0.002 |
| TypeCheckTest | testOptionalArgFunctionParam3 | Success | | 0.001 |
| TypeCheckTest | testOptionalArgFunctionParam4 | Success | | 0.002 |
| TypeCheckTest | testOptionalArgFunctionParamError | Success | | 0.002 |
| TypeCheckTest | testOptionalNullableArgFunctionParam | Success | | 0.003 |
| TypeCheckTest | testOptionalNullableArgFunctionParam2 | Success | | 0.001 |
| TypeCheckTest | testOptionalNullableArgFunctionParam3 | Success | | 0.002 |
| TypeCheckTest | testOptionalArgFunctionReturn | Success | | 0.002 |
| TypeCheckTest | testOptionalArgFunctionReturn2 | Success | | 0.002 |
| TypeCheckTest | testBooleanType | Success | | 0.001 |
| TypeCheckTest | testBooleanReduction1 | Success | | 0.001 |
| TypeCheckTest | testBooleanReduction2 | Success | | 0.002 |
| TypeCheckTest | testBooleanReduction3 | Success | | 0.001 |
| TypeCheckTest | testBooleanReduction4 | Success | | 0.002 |
| TypeCheckTest | testBooleanReduction5 | Success | | 0.002 |
| TypeCheckTest | testBooleanReduction6 | Success | | 0.003 |
| TypeCheckTest | testBooleanReduction7 | Success | | 0.002 |
| TypeCheckTest | testNullAnd | Success | | 0.004 |
| TypeCheckTest | testNullOr | Success | | 0.003 |
| TypeCheckTest | testBooleanPreservation1 | Success | | 0.002 |
| TypeCheckTest | testBooleanPreservation2 | Success | | 0.002 |
| TypeCheckTest | testBooleanPreservation3 | Success | | 0.002 |
| TypeCheckTest | testBooleanPreservation4 | Failure | unexpected warnings(s):
JSC_DETERMINISTIC_TEST. condition always evaluates to false
left : (Function|boolean)
right: string at [testcode] line 2 : 49
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_DETERMINISTIC_TEST. condition always evaluates to false left : (Function|boolean) right: string at [testcode] line 2 : 49 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testBooleanPreservation4(TypeCheckTest.java:587)
| 0.002 |
| TypeCheckTest | testTypeOfReduction1 | Success | | 0.002 |
| TypeCheckTest | testTypeOfReduction2 | Success | | 0.002 |
| TypeCheckTest | testTypeOfReduction3 | Success | | 0.002 |
| TypeCheckTest | testTypeOfReduction4 | Success | | 0.003 |
| TypeCheckTest | testTypeOfReduction5 | Success | | 0.003 |
| TypeCheckTest | testTypeOfReduction6 | Success | | 0.023 |
| TypeCheckTest | testTypeOfReduction7 | Success | | 0.004 |
| TypeCheckTest | testTypeOfReduction8 | Success | | 0.004 |
| TypeCheckTest | testTypeOfReduction9 | Success | | 0.004 |
| TypeCheckTest | testTypeOfReduction10 | Success | | 0.005 |
| TypeCheckTest | testTypeOfReduction11 | Success | | 0.003 |
| TypeCheckTest | testTypeOfReduction12 | Success | | 0.002 |
| TypeCheckTest | testTypeOfReduction13 | Success | | 0.002 |
| TypeCheckTest | testTypeOfReduction14 | Success | | 0.002 |
| TypeCheckTest | testTypeOfReduction15 | Success | | 0.002 |
| TypeCheckTest | testTypeOfReduction16 | Success | | 0.003 |
| TypeCheckTest | testQualifiedNameReduction1 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameReduction2 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameReduction3 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameReduction4 | Success | | 0.003 |
| TypeCheckTest | testQualifiedNameReduction5a | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameReduction5b | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameReduction5c | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameReduction6 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameReduction7 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameReduction7a | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameReduction8 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameReduction9 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameReduction10 | Success | | 0.002 |
| TypeCheckTest | testObjLitDef1a | Success | | 0.002 |
| TypeCheckTest | testObjLitDef1b | Success | | 0.002 |
| TypeCheckTest | testObjLitDef2a | Success | | 0.002 |
| TypeCheckTest | testObjLitDef2b | Success | | 0.002 |
| TypeCheckTest | testObjLitDef3a | Success | | 0.002 |
| TypeCheckTest | testObjLitDef3b | Success | | 0.003 |
| TypeCheckTest | testObjLitDef4 | Success | | 0.002 |
| TypeCheckTest | testObjLitDef5 | Success | | 0.002 |
| TypeCheckTest | testObjLitDef6 | Success | | 0.002 |
| TypeCheckTest | testObjLitDef7 | Success | | 0.001 |
| TypeCheckTest | testInstanceOfReduction1 | Success | | 0.002 |
| TypeCheckTest | testInstanceOfReduction2 | Success | | 0.003 |
| TypeCheckTest | testUndeclaredGlobalProperty1 | Success | | 0.003 |
| TypeCheckTest | testUndeclaredGlobalProperty2 | Success | | 0.002 |
| TypeCheckTest | testLocallyInferredGlobalProperty1 | Success | | 0.002 |
| TypeCheckTest | testPropertyInferredPropagation | Success | | 0.003 |
| TypeCheckTest | testPropertyInference1 | Success | | 0.004 |
| TypeCheckTest | testPropertyInference2 | Success | | 0.003 |
| TypeCheckTest | testPropertyInference3 | Success | | 0.005 |
| TypeCheckTest | testPropertyInference4 | Success | | 0.002 |
| TypeCheckTest | testPropertyInference5 | Success | | 0.003 |
| TypeCheckTest | testPropertyInference6 | Success | | 0.003 |
| TypeCheckTest | testPropertyInference7 | Success | | 0.003 |
| TypeCheckTest | testPropertyInference8 | Success | | 0.022 |
| TypeCheckTest | testPropertyInference9 | Success | | 0.004 |
| TypeCheckTest | testPropertyInference10 | Success | | 0.002 |
| TypeCheckTest | testNoPersistentTypeInferenceForObjectProperties | Success | | 0.003 |
| TypeCheckTest | testNoPersistentTypeInferenceForFunctionProperties | Success | | 0.003 |
| TypeCheckTest | testObjectPropertyTypeInferredInLocalScope1 | Success | | 0.002 |
| TypeCheckTest | testObjectPropertyTypeInferredInLocalScope2 | Success | | 0.002 |
| TypeCheckTest | testObjectPropertyTypeInferredInLocalScope3 | Success | | 0.003 |
| TypeCheckTest | testMismatchingOverridingInferredPropertyBeforeDeclaredProperty1 | Success | | 0.002 |
| TypeCheckTest | testMismatchingOverridingInferredPropertyBeforeDeclaredProperty2 | Success | | 0.002 |
| TypeCheckTest | testMismatchingOverridingInferredPropertyBeforeDeclaredProperty3 | Success | | 0.001 |
| TypeCheckTest | testMismatchingOverridingInferredPropertyBeforeDeclaredProperty4 | Success | | 0.001 |
| TypeCheckTest | testPropertyUsedBeforeDefinition1 | Success | | 0.002 |
| TypeCheckTest | testPropertyUsedBeforeDefinition2 | Success | | 0.003 |
| TypeCheckTest | testAdd1 | Success | | 0.003 |
| TypeCheckTest | testAdd2 | Success | | 0.002 |
| TypeCheckTest | testAdd3 | Success | | 0.002 |
| TypeCheckTest | testAdd4 | Success | | 0.001 |
| TypeCheckTest | testAdd5 | Success | | 0.001 |
| TypeCheckTest | testAdd6 | Success | | 0.001 |
| TypeCheckTest | testAdd7 | Success | | 0.003 |
| TypeCheckTest | testAdd8 | Success | | 0.002 |
| TypeCheckTest | testAdd9 | Success | | 0.002 |
| TypeCheckTest | testAdd10 | Success | | 0.003 |
| TypeCheckTest | testAdd11 | Success | | 0.002 |
| TypeCheckTest | testAdd12 | Success | | 0.002 |
| TypeCheckTest | testAdd13 | Success | | 0.002 |
| TypeCheckTest | testAdd14 | Success | | 0.003 |
| TypeCheckTest | testAdd15 | Success | | 0.002 |
| TypeCheckTest | testAdd16 | Success | | 0.003 |
| TypeCheckTest | testAdd17 | Success | | 0.002 |
| TypeCheckTest | testAdd18 | Success | | 0.002 |
| TypeCheckTest | testAdd19 | Success | | 0.002 |
| TypeCheckTest | testAdd20 | Success | | 0.001 |
| TypeCheckTest | testAdd21 | Success | | 0.002 |
| TypeCheckTest | testNumericComparison1 | Success | | 0.002 |
| TypeCheckTest | testNumericComparison2 | Success | | 0.002 |
| TypeCheckTest | testNumericComparison3 | Success | | 0.002 |
| TypeCheckTest | testNumericComparison4 | Success | | 0.002 |
| TypeCheckTest | testNumericComparison5 | Success | | 0.003 |
| TypeCheckTest | testNumericComparison6 | Success | | 0.002 |
| TypeCheckTest | testStringComparison1 | Success | | 0.002 |
| TypeCheckTest | testStringComparison2 | Success | | 0.003 |
| TypeCheckTest | testStringComparison3 | Success | | 0.002 |
| TypeCheckTest | testStringComparison4 | Success | | 0.003 |
| TypeCheckTest | testStringComparison5 | Success | | 0.002 |
| TypeCheckTest | testStringComparison6 | Success | | 0.002 |
| TypeCheckTest | testValueOfComparison1 | Success | | 0.003 |
| TypeCheckTest | testValueOfComparison2 | Success | | 0.002 |
| TypeCheckTest | testValueOfComparison3 | Success | | 0.003 |
| TypeCheckTest | testGenericRelationalExpression | Success | | 0.003 |
| TypeCheckTest | testInstanceof1 | Success | | 0.002 |
| TypeCheckTest | testInstanceof2 | Success | | 0.002 |
| TypeCheckTest | testInstanceof3 | Success | | 0.002 |
| TypeCheckTest | testInstanceof4 | Success | | 0.003 |
| TypeCheckTest | testInstanceof5 | Success | | 0.002 |
| TypeCheckTest | testInstanceof6 | Success | | 0.002 |
| TypeCheckTest | testInstanceOfReduction3 | Success | | 0.003 |
| TypeCheckTest | testScoping1 | Success | | 0.003 |
| TypeCheckTest | testScoping2 | Success | | 0.002 |
| TypeCheckTest | testScoping3 | Success | | 0.002 |
| TypeCheckTest | testScoping4 | Success | | 0.002 |
| TypeCheckTest | testScoping5 | Success | | 0.002 |
| TypeCheckTest | testScoping6 | Success | | 0.002 |
| TypeCheckTest | testScoping7 | Success | | 0.002 |
| TypeCheckTest | testScoping8 | Success | | 0.002 |
| TypeCheckTest | testScoping9 | Success | | 0.004 |
| TypeCheckTest | testScoping10 | Success | | 0.002 |
| TypeCheckTest | testScoping11 | Success | | 0.002 |
| TypeCheckTest | testScoping12 | Success | | 0.002 |
| TypeCheckTest | testFunctionArguments1 | Success | | 0.002 |
| TypeCheckTest | testFunctionArguments2 | Success | | 0.003 |
| TypeCheckTest | testFunctionArguments3 | Success | | 0.003 |
| TypeCheckTest | testFunctionArguments4 | Success | | 0.002 |
| TypeCheckTest | testFunctionArguments5 | Success | | 0.002 |
| TypeCheckTest | testFunctionArguments6 | Success | | 0.003 |
| TypeCheckTest | testFunctionArguments7 | Success | | 0.002 |
| TypeCheckTest | testFunctionArguments8 | Success | | 0.002 |
| TypeCheckTest | testFunctionArguments9 | Success | | 0.002 |
| TypeCheckTest | testFunctionArguments10 | Success | | 0.003 |
| TypeCheckTest | testFunctionArguments11 | Success | | 0.003 |
| TypeCheckTest | testFunctionArguments12 | Success | | 0.002 |
| TypeCheckTest | testFunctionArguments13 | Success | | 0.002 |
| TypeCheckTest | testFunctionArguments14 | Success | | 0.003 |
| TypeCheckTest | testFunctionArguments15 | Success | | 0.002 |
| TypeCheckTest | testFunctionArguments16 | Success | | 0.003 |
| TypeCheckTest | testFunctionArguments17 | Success | | 0.001 |
| TypeCheckTest | testFunctionArguments18 | Success | | 0.002 |
| TypeCheckTest | testPrintFunctionName1 | Success | | 0.002 |
| TypeCheckTest | testPrintFunctionName2 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference1 | Success | | 0.003 |
| TypeCheckTest | testFunctionInference2 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference3 | Success | | 0.003 |
| TypeCheckTest | testFunctionInference4 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference5 | Success | | 0.003 |
| TypeCheckTest | testFunctionInference6 | Success | | 0.003 |
| TypeCheckTest | testFunctionInference7 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference8 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference9 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference10 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference11 | Success | | 0.001 |
| TypeCheckTest | testFunctionInference12 | Success | | 0.003 |
| TypeCheckTest | testFunctionInference13 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference14 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference15 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference16 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference17 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference18 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference19 | Success | | 0.003 |
| TypeCheckTest | testFunctionInference20 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference21 | Success | | 0.002 |
| TypeCheckTest | testFunctionInference22 | Success | | 0.003 |
| TypeCheckTest | testFunctionInference23 | Success | | 0.003 |
| TypeCheckTest | testInnerFunction5 | Failure | expected:<[inconsistent return type]
found : boolean
r...> but was:<[assignment]
found : boolean
r...>
junit.framework.ComparisonFailure: expected:<[inconsistent return type] found : boolean r...> but was:<[assignment] found : boolean r...> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testInnerFunction5(TypeCheckTest.java:1980)
| 0.003 |
| TypeCheckTest | testInnerFunction6 | Success | | 0.002 |
| TypeCheckTest | testInnerFunction7 | Success | | 0.002 |
| TypeCheckTest | testInnerFunction8 | Success | | 0.002 |
| TypeCheckTest | testInnerFunction9 | Failure | unexpected warnings(s):
JSC_TYPE_MISMATCH. assignment
found : null
required: number at [testcode] line 2 : 16
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_TYPE_MISMATCH. assignment found : null required: number at [testcode] line 2 : 16 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testInnerFunction9(TypeCheckTest.java:2034)
| 0.004 |
| TypeCheckTest | testInnerFunction10 | Success | | 0.002 |
| TypeCheckTest | testInnerFunction11 | Success | | 0.003 |
| TypeCheckTest | testAbstractMethodHandling1 | Success | | 0.002 |
| TypeCheckTest | testAbstractMethodHandling2 | Success | | 0.003 |
| TypeCheckTest | testAbstractMethodHandling3 | Success | | 0.003 |
| TypeCheckTest | testAbstractMethodHandling4 | Success | | 0.003 |
| TypeCheckTest | testAbstractMethodHandling5 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testAbstractMethodHandling5(TypeCheckTest.java:2113)
| 0.003 |
| TypeCheckTest | testAbstractMethodHandling6 | Success | | 0.003 |
| TypeCheckTest | testMethodInference1 | Success | | 0.003 |
| TypeCheckTest | testMethodInference2 | Success | | 0.003 |
| TypeCheckTest | testMethodInference3 | Success | | 0.003 |
| TypeCheckTest | testMethodInference4 | Success | | 0.003 |
| TypeCheckTest | testMethodInference5 | Success | | 0.003 |
| TypeCheckTest | testMethodInference6 | Success | | 0.002 |
| TypeCheckTest | testMethodInference7 | Success | | 0.002 |
| TypeCheckTest | testMethodInference8 | Success | | 0.003 |
| TypeCheckTest | testMethodInference9 | Success | | 0.003 |
| TypeCheckTest | testStaticMethodDeclaration1 | Success | | 0.003 |
| TypeCheckTest | testStaticMethodDeclaration2 | Success | | 0.003 |
| TypeCheckTest | testStaticMethodDeclaration3 | Success | | 0.002 |
| TypeCheckTest | testDuplicateStaticMethodDecl1 | Success | | 0.002 |
| TypeCheckTest | testDuplicateStaticMethodDecl2 | Success | | 0.003 |
| TypeCheckTest | testDuplicateStaticMethodDecl3 | Success | | 0.002 |
| TypeCheckTest | testDuplicateStaticMethodDecl4 | Success | | 0.002 |
| TypeCheckTest | testDuplicateStaticMethodDecl5 | Success | | 0.003 |
| TypeCheckTest | testDuplicateStaticMethodDecl6 | Success | | 0.003 |
| TypeCheckTest | testDuplicateStaticPropertyDecl1 | Success | | 0.002 |
| TypeCheckTest | testDuplicateStaticPropertyDecl2 | Success | | 0.003 |
| TypeCheckTest | testDuplicateStaticPropertyDecl3 | Success | | 0.002 |
| TypeCheckTest | testDuplicateStaticPropertyDecl4 | Success | | 0.001 |
| TypeCheckTest | testDuplicateStaticPropertyDecl5 | Success | | 0.002 |
| TypeCheckTest | testDuplicateStaticPropertyDecl6 | Success | | 0.003 |
| TypeCheckTest | testDuplicateStaticPropertyDecl7 | Success | | 0.002 |
| TypeCheckTest | testDuplicateStaticPropertyDecl8 | Success | | 0.002 |
| TypeCheckTest | testDuplicateStaticPropertyDecl9 | Success | | 0.002 |
| TypeCheckTest | testDuplicateStaticPropertyDec20 | Success | | 0.002 |
| TypeCheckTest | testDuplicateLocalVarDecl | Failure | unexpected warning(s) : JSC_DUP_VAR_DECLARATION_TYPE_MISMATCH. variable x redefined with type string, original definition at [testcode]:2 with type number at [testcode] line 2 : 42 expected:<2> but was:<1>
junit.framework.AssertionFailedError: unexpected warning(s) : JSC_DUP_VAR_DECLARATION_TYPE_MISMATCH. variable x redefined with type string, original definition at [testcode]:2 with type number at [testcode] line 2 : 42 expected:<2> but was:<1> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13217) at com.google.javascript.jscomp.TypeCheckTest.testDuplicateLocalVarDecl(TypeCheckTest.java:2422)
| 0.001 |
| TypeCheckTest | testDuplicateInstanceMethod1 | Success | | 0.002 |
| TypeCheckTest | testDuplicateInstanceMethod2 | Success | | 0.002 |
| TypeCheckTest | testDuplicateInstanceMethod3 | Success | | 0.002 |
| TypeCheckTest | testDuplicateInstanceMethod4 | Success | | 0.002 |
| TypeCheckTest | testDuplicateInstanceMethod5 | Success | | 0.002 |
| TypeCheckTest | testDuplicateInstanceMethod6 | Success | | 0.002 |
| TypeCheckTest | testStubFunctionDeclaration1 | Success | | 0.003 |
| TypeCheckTest | testStubFunctionDeclaration2 | Success | | 0.001 |
| TypeCheckTest | testStubFunctionDeclaration3 | Success | | 0.002 |
| TypeCheckTest | testStubFunctionDeclaration4 | Success | | 0.002 |
| TypeCheckTest | testStubFunctionDeclaration5 | Success | | 0.002 |
| TypeCheckTest | testStubFunctionDeclaration6 | Success | | 0.002 |
| TypeCheckTest | testStubFunctionDeclaration7 | Success | | 0.002 |
| TypeCheckTest | testStubFunctionDeclaration8 | Success | | 0.002 |
| TypeCheckTest | testStubFunctionDeclaration9 | Success | | 0.003 |
| TypeCheckTest | testStubFunctionDeclaration10 | Success | | 0.002 |
| TypeCheckTest | testNestedFunctionInference1 | Success | | 0.002 |
| TypeCheckTest | testTypeRedefinition | Success | | 0.001 |
| TypeCheckTest | testIn1 | Success | | 0.001 |
| TypeCheckTest | testIn2 | Success | | 0.002 |
| TypeCheckTest | testIn3 | Success | | 0.002 |
| TypeCheckTest | testIn4 | Success | | 0.002 |
| TypeCheckTest | testIn5 | Success | | 0.001 |
| TypeCheckTest | testIn6 | Success | | 0.002 |
| TypeCheckTest | testIn7 | Success | | 0.002 |
| TypeCheckTest | testForIn3 | Success | | 0.002 |
| TypeCheckTest | testForIn4 | Success | | 0.003 |
| TypeCheckTest | testForIn5 | Success | | 0.002 |
| TypeCheckTest | testComparison5 | Success | | 0.002 |
| TypeCheckTest | testComparison6 | Success | | 0.002 |
| TypeCheckTest | testComparison7 | Success | | 0.001 |
| TypeCheckTest | testComparison8 | Success | | 0.001 |
| TypeCheckTest | testComparison9 | Success | | 0.003 |
| TypeCheckTest | testComparison10 | Success | | 0.002 |
| TypeCheckTest | testComparison11 | Success | | 0.003 |
| TypeCheckTest | testComparison12 | Success | | 0.002 |
| TypeCheckTest | testComparison13 | Success | | 0.003 |
| TypeCheckTest | testComparison14 | Success | | 0.002 |
| TypeCheckTest | testComparison15 | Failure | unexpected warning(s) : JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 16 : 0, JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 23 : 0 expected:<0> but was:<2>
junit.framework.AssertionFailedError: unexpected warning(s) : JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 16 : 0, JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 23 : 0 expected:<0> but was:<2> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13212) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testComparison15(TypeCheckTest.java:2858)
| 0.004 |
| TypeCheckTest | testEnumStaticMethod1 | Success | | 0.002 |
| TypeCheckTest | testEnumStaticMethod2 | Success | | 0.002 |
| TypeCheckTest | testEnum1 | Success | | 0.003 |
| TypeCheckTest | testEnum2 | Success | | 0.004 |
| TypeCheckTest | testEnum3 | Success | | 0.002 |
| TypeCheckTest | testEnum4 | Success | | 0.003 |
| TypeCheckTest | testEnum5 | Success | | 0.003 |
| TypeCheckTest | testEnum6 | Success | | 0.003 |
| TypeCheckTest | testEnum7 | Success | | 0.003 |
| TypeCheckTest | testEnum8 | Failure | unexpected warning(s) : JSC_ENUM_INITIALIZER_NOT_ENUM. enum initializer must be an object literal or an enum at [testcode] line 1 : 16 expected:<2> but was:<1>
junit.framework.AssertionFailedError: unexpected warning(s) : JSC_ENUM_INITIALIZER_NOT_ENUM. enum initializer must be an object literal or an enum at [testcode] line 1 : 16 expected:<2> but was:<1> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13217) at com.google.javascript.jscomp.TypeCheckTest.testEnum8(TypeCheckTest.java:2966)
| 0.001 |
| TypeCheckTest | testEnum9 | Success | | 0.002 |
| TypeCheckTest | testEnum10 | Success | | 0.002 |
| TypeCheckTest | testEnum11 | Success | | 0.002 |
| TypeCheckTest | testEnum12 | Success | | 0.003 |
| TypeCheckTest | testEnum13 | Success | | 0.002 |
| TypeCheckTest | testEnum14 | Success | | 0.003 |
| TypeCheckTest | testEnum15 | Success | | 0.002 |
| TypeCheckTest | testEnum16 | Success | | 0.002 |
| TypeCheckTest | testEnum17 | Success | | 0.005 |
| TypeCheckTest | testEnum18 | Success | | 0.003 |
| TypeCheckTest | testEnum19 | Success | | 0.002 |
| TypeCheckTest | testEnum20 | Success | | 0.003 |
| TypeCheckTest | testEnum21 | Success | | 0.003 |
| TypeCheckTest | testEnum22 | Success | | 0.003 |
| TypeCheckTest | testEnum23 | Success | | 0.002 |
| TypeCheckTest | testEnum24 | Success | | 0.003 |
| TypeCheckTest | testEnum25 | Success | | 0.002 |
| TypeCheckTest | testEnum26 | Success | | 0.002 |
| TypeCheckTest | testEnum27 | Success | | 0.003 |
| TypeCheckTest | testEnum28 | Success | | 0.002 |
| TypeCheckTest | testEnum29 | Success | | 0.003 |
| TypeCheckTest | testEnum30 | Success | | 0.003 |
| TypeCheckTest | testEnum31 | Success | | 0.002 |
| TypeCheckTest | testEnum32 | Success | | 0.003 |
| TypeCheckTest | testEnum34 | Success | | 0.002 |
| TypeCheckTest | testEnum35 | Success | | 0.002 |
| TypeCheckTest | testEnum36 | Success | | 0.002 |
| TypeCheckTest | testEnum37 | Success | | 0.003 |
| TypeCheckTest | testEnum38 | Success | | 0.003 |
| TypeCheckTest | testEnum39 | Success | | 0.003 |
| TypeCheckTest | testEnum40 | Success | | 0.003 |
| TypeCheckTest | testEnum41 | Success | | 0.003 |
| TypeCheckTest | testEnum42 | Success | | 0.002 |
| TypeCheckTest | testAliasedEnum1 | Success | | 0.002 |
| TypeCheckTest | testAliasedEnum2 | Success | | 0.002 |
| TypeCheckTest | testAliasedEnum3 | Success | | 0.002 |
| TypeCheckTest | testAliasedEnum4 | Success | | 0.003 |
| TypeCheckTest | testAliasedEnum5 | Success | | 0.003 |
| TypeCheckTest | testBackwardsEnumUse1 | Success | | 0.002 |
| TypeCheckTest | testBackwardsEnumUse2 | Success | | 0.002 |
| TypeCheckTest | testBackwardsEnumUse3 | Success | | 0.003 |
| TypeCheckTest | testBackwardsEnumUse4 | Success | | 0.002 |
| TypeCheckTest | testBackwardsEnumUse5 | Success | | 0.002 |
| TypeCheckTest | testBackwardsTypedefUse2 | Success | | 0.003 |
| TypeCheckTest | testBackwardsTypedefUse4 | Success | | 0.002 |
| TypeCheckTest | testBackwardsTypedefUse6 | Success | | 0.002 |
| TypeCheckTest | testBackwardsTypedefUse7 | Success | | 0.002 |
| TypeCheckTest | testBackwardsTypedefUse8 | Success | | 0.002 |
| TypeCheckTest | testBackwardsTypedefUse9 | Success | | 0.002 |
| TypeCheckTest | testBackwardsTypedefUse10 | Success | | 0.003 |
| TypeCheckTest | testBackwardsConstructor1 | Success | | 0.002 |
| TypeCheckTest | testBackwardsConstructor2 | Success | | 0.002 |
| TypeCheckTest | testMinimalConstructorAnnotation | Success | | 0.002 |
| TypeCheckTest | testGoodExtends1 | Success | | 0.001 |
| TypeCheckTest | testGoodExtends2 | Success | | 0.002 |
| TypeCheckTest | testGoodExtends3 | Success | | 0.002 |
| TypeCheckTest | testGoodExtends4 | Success | | 0.002 |
| TypeCheckTest | testGoodExtends5 | Success | | 0.002 |
| TypeCheckTest | testGoodExtends6 | Failure | expected:<[initializing variable
found : function (this:base): number
required: number]> but was:<[Object literal expected as second argument]>
junit.framework.ComparisonFailure: expected:<[initializing variable found : function (this:base): number required: number]> but was:<[Object literal expected as second argument]> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testFunctionType(TypeCheckTest.java:2598) at com.google.javascript.jscomp.TypeCheckTest.testGoodExtends6(TypeCheckTest.java:3421)
| 0.003 |
| TypeCheckTest | testGoodExtends7 | Success | | 0.002 |
| TypeCheckTest | testGoodExtends8 | Success | | 0.002 |
| TypeCheckTest | testGoodExtends9 | Success | | 0.003 |
| TypeCheckTest | testGoodExtends10 | Success | | 0.002 |
| TypeCheckTest | testGoodExtends11 | Success | | 0.003 |
| TypeCheckTest | testGoodExtends12 | Success | | 0.002 |
| TypeCheckTest | testGoodExtends13 | Success | | 0.003 |
| TypeCheckTest | testGoodExtends14 | Failure | unexpected warnings(s):
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 10 : 236
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 10 : 236 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testGoodExtends14(TypeCheckTest.java:3505)
| 0.004 |
| TypeCheckTest | testGoodExtends15 | Failure | expected:<[Property foo never defined on OldType.prototype]> but was:<[Object literal expected as second argument]>
junit.framework.ComparisonFailure: expected:<[Property foo never defined on OldType.prototype]> but was:<[Object literal expected as second argument]> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testGoodExtends15(TypeCheckTest.java:3515)
| 0.004 |
| TypeCheckTest | testGoodExtends16 | Failure | unexpected warnings(s):
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 10 : 236
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 10 : 236 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testGoodExtends16(TypeCheckTest.java:3533)
| 0.004 |
| TypeCheckTest | testGoodExtends17 | Success | | 0.003 |
| TypeCheckTest | testGoodExtends18 | Failure | unexpected warnings(s):
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 16 : 0
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 16 : 0 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testGoodExtends18(TypeCheckTest.java:3554)
| 0.004 |
| TypeCheckTest | testGoodExtends19 | Failure | expected:<[actual parameter 1 of E.prototype.method does not match formal parameter
found : number
required: string]> but was:<[Object literal expected as second argument]>
junit.framework.ComparisonFailure: expected:<[actual parameter 1 of E.prototype.method does not match formal parameter found : number required: string]> but was:<[Object literal expected as second argument]> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testGoodExtends19(TypeCheckTest.java:3567)
| 0.006 |
| TypeCheckTest | testGoodExtends20 | Success | | 0.003 |
| TypeCheckTest | testGoodExtends21 | Success | | 0.002 |
| TypeCheckTest | testBadExtends1 | Success | | 0.003 |
| TypeCheckTest | testBadExtends2 | Success | | 0.003 |
| TypeCheckTest | testBadExtends3 | Success | | 0.002 |
| TypeCheckTest | testBadExtends4 | Success | | 0.002 |
| TypeCheckTest | testBadExtends5 | Success | | 0.004 |
| TypeCheckTest | testBadExtends6 | Success | | 0.006 |
| TypeCheckTest | testLateExtends | Failure | expected:<[Missing @extends tag on type Foo]> but was:<[Object literal expected as second argument]>
junit.framework.ComparisonFailure: expected:<[Missing @extends tag on type Foo]> but was:<[Object literal expected as second argument]> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testLateExtends(TypeCheckTest.java:3715)
| 0.003 |
| TypeCheckTest | testSuperclassMatch | Success | | 0.002 |
| TypeCheckTest | testSuperclassMatchWithMixin | Success | | 0.002 |
| TypeCheckTest | testSuperclassMismatch1 | Success | | 0.002 |
| TypeCheckTest | testSuperclassMismatch2 | Success | | 0.002 |
| TypeCheckTest | testSuperClassDefinedAfterSubClass1 | Success | | 0.002 |
| TypeCheckTest | testSuperClassDefinedAfterSubClass2 | Success | | 0.002 |
| TypeCheckTest | testDirectPrototypeAssignment1 | Success | | 0.003 |
| TypeCheckTest | testDirectPrototypeAssignment2 | Success | | 0.003 |
| TypeCheckTest | testDirectPrototypeAssignment3 | Success | | 0.003 |
| TypeCheckTest | testGoodImplements1 | Success | | 0.003 |
| TypeCheckTest | testGoodImplements2 | Success | | 0.003 |
| TypeCheckTest | testGoodImplements3 | Success | | 0.002 |
| TypeCheckTest | testGoodImplements4 | Success | | 0.003 |
| TypeCheckTest | testGoodImplements5 | Success | | 0.002 |
| TypeCheckTest | testGoodImplements6 | Success | | 0.003 |
| TypeCheckTest | testGoodImplements7 | Success | | 0.003 |
| TypeCheckTest | testGoodImplements8 | Success | | 0.003 |
| TypeCheckTest | testBadImplements1 | Success | | 0.003 |
| TypeCheckTest | testBadImplements2 | Success | | 0.003 |
| TypeCheckTest | testBadImplements3 | Success | | 0.003 |
| TypeCheckTest | testBadImplements4 | Success | | 0.002 |
| TypeCheckTest | testBadImplements5 | Success | | 0.003 |
| TypeCheckTest | testBadImplements6 | Success | | 0.002 |
| TypeCheckTest | testBadImplements7 | Success | | 0.003 |
| TypeCheckTest | testBadImplements8 | Success | | 0.003 |
| TypeCheckTest | testProtoDoesNotRequireOverrideFromInterface | Success | | 0.003 |
| TypeCheckTest | testConstructorClassTemplate | Success | | 0.003 |
| TypeCheckTest | testInterfaceExtends | Success | | 0.002 |
| TypeCheckTest | testBadInterfaceExtends1 | Success | | 0.002 |
| TypeCheckTest | testBadInterfaceExtendsNonExistentInterfaces | Success | | 0.002 |
| TypeCheckTest | testBadInterfaceExtends2 | Success | | 0.003 |
| TypeCheckTest | testBadInterfaceExtends3 | Success | | 0.003 |
| TypeCheckTest | testBadInterfaceExtends4 | Success | | 0.002 |
| TypeCheckTest | testBadInterfaceExtends5 | Success | | 0.002 |
| TypeCheckTest | testBadImplementsAConstructor | Success | | 0.002 |
| TypeCheckTest | testBadImplementsNonInterfaceType | Success | | 0.003 |
| TypeCheckTest | testBadImplementsNonObjectType | Success | | 0.003 |
| TypeCheckTest | testBadImplementsDuplicateInterface1 | Success | | 0.003 |
| TypeCheckTest | testBadImplementsDuplicateInterface2 | Success | | 0.002 |
| TypeCheckTest | testInterfaceAssignment1 | Success | | 0.003 |
| TypeCheckTest | testInterfaceAssignment2 | Success | | 0.004 |
| TypeCheckTest | testInterfaceAssignment3 | Success | | 0.003 |
| TypeCheckTest | testInterfaceAssignment4 | Success | | 0.003 |
| TypeCheckTest | testInterfaceAssignment5 | Success | | 0.003 |
| TypeCheckTest | testInterfaceAssignment6 | Success | | 0.003 |
| TypeCheckTest | testInterfaceAssignment7 | Success | | 0.003 |
| TypeCheckTest | testInterfaceAssignment8 | Success | | 0.002 |
| TypeCheckTest | testInterfaceAssignment9 | Success | | 0.002 |
| TypeCheckTest | testInterfaceAssignment10 | Success | | 0.003 |
| TypeCheckTest | testInterfaceAssignment11 | Success | | 0.003 |
| TypeCheckTest | testInterfaceAssignment12 | Success | | 0.002 |
| TypeCheckTest | testInterfaceAssignment13 | Success | | 0.003 |
| TypeCheckTest | testGetprop1 | Success | | 0.002 |
| TypeCheckTest | testGetprop2 | Success | | 0.003 |
| TypeCheckTest | testGetprop3 | Success | | 0.005 |
| TypeCheckTest | testGetprop4 | Success | | 0.004 |
| TypeCheckTest | testSetprop1 | Success | | 0.003 |
| TypeCheckTest | testSetprop2 | Success | | 0.003 |
| TypeCheckTest | testSetprop3 | Success | | 0.003 |
| TypeCheckTest | testSetprop4 | Success | | 0.003 |
| TypeCheckTest | testSetprop5 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testSetprop5(TypeCheckTest.java:4314)
| 0.003 |
| TypeCheckTest | testSetprop6 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testSetprop6(TypeCheckTest.java:4326)
| 0.007 |
| TypeCheckTest | testSetprop7 | Success | | 0.003 |
| TypeCheckTest | testSetprop8 | Success | | 0.002 |
| TypeCheckTest | testSetprop9 | Success | | 0.002 |
| TypeCheckTest | testSetprop10 | Success | | 0.004 |
| TypeCheckTest | testSetprop11 | Success | | 0.002 |
| TypeCheckTest | testSetprop12 | Success | | 0.002 |
| TypeCheckTest | testSetprop13 | Success | | 0.002 |
| TypeCheckTest | testSetprop14 | Success | | 0.003 |
| TypeCheckTest | testSetprop15 | Success | | 0.003 |
| TypeCheckTest | testGetpropDict1 | Success | | 0.004 |
| TypeCheckTest | testGetpropDict2 | Success | | 0.003 |
| TypeCheckTest | testGetpropDict3 | Success | | 0.003 |
| TypeCheckTest | testGetpropDict4 | Success | | 0.003 |
| TypeCheckTest | testGetpropDict5 | Success | | 0.003 |
| TypeCheckTest | testGetpropDict6 | Success | | 0.003 |
| TypeCheckTest | testGetpropDict7 | Success | | 0.004 |
| TypeCheckTest | testGetelemStruct1 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testGetelemStruct1(TypeCheckTest.java:4567)
| 0.003 |
| TypeCheckTest | testGetelemStruct2 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testGetelemStruct2(TypeCheckTest.java:4581)
| 0.004 |
| TypeCheckTest | testGetelemStruct3 | Success | | 0.004 |
| TypeCheckTest | testGetelemStruct4 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testGetelemStruct4(TypeCheckTest.java:4612)
| 0.004 |
| TypeCheckTest | testGetelemStruct5 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testGetelemStruct5(TypeCheckTest.java:4625)
| 0.004 |
| TypeCheckTest | testGetelemStruct6 | Success | | 0.004 |
| TypeCheckTest | testGetelemStruct7 | Success | | 0.003 |
| TypeCheckTest | testInOnStruct | Success | | 0.003 |
| TypeCheckTest | testForinOnStruct | Success | | 0.003 |
| TypeCheckTest | testArrayAccess1 | Success | | 0.003 |
| TypeCheckTest | testArrayAccess2 | Success | | 0.002 |
| TypeCheckTest | testArrayAccess3 | Success | | 0.002 |
| TypeCheckTest | testArrayAccess4 | Success | | 0.003 |
| TypeCheckTest | testArrayAccess6 | Success | | 0.003 |
| TypeCheckTest | testArrayAccess7 | Success | | 0.003 |
| TypeCheckTest | testArrayAccess8 | Success | | 0.003 |
| TypeCheckTest | testArrayAccess9 | Success | | 0.003 |
| TypeCheckTest | testPropAccess | Success | | 0.003 |
| TypeCheckTest | testPropAccess2 | Success | | 0.002 |
| TypeCheckTest | testPropAccess3 | Success | | 0.002 |
| TypeCheckTest | testPropAccess4 | Success | | 0.003 |
| TypeCheckTest | testSwitchCase1 | Success | | 0.003 |
| TypeCheckTest | testSwitchCase2 | Success | | 0.003 |
| TypeCheckTest | testVar1 | Success | | 0.002 |
| TypeCheckTest | testVar2 | Success | | 0.002 |
| TypeCheckTest | testVar3 | Success | | 0.002 |
| TypeCheckTest | testVar4 | Error | Expected: (number|string)
Actual : number
java.lang.AssertionError: Expected: (number|string) Actual : number at com.google.javascript.rhino.testing.Asserts.assertTypeEquals(Asserts.java:109) at com.google.javascript.rhino.testing.Asserts.assertTypeEquals(Asserts.java:99) at com.google.javascript.rhino.testing.BaseJSTypeTestCase.assertTypeEquals(BaseJSTypeTestCase.java:595) at com.google.javascript.jscomp.TypeCheckTest.testVar4(TypeCheckTest.java:4806)
| 0.003 |
| TypeCheckTest | testVar5 | Success | | 0.002 |
| TypeCheckTest | testVar6 | Success | | 0.002 |
| TypeCheckTest | testVar7 | Success | | 0.002 |
| TypeCheckTest | testVar8 | Success | | 0.002 |
| TypeCheckTest | testVar9 | Success | | 0.002 |
| TypeCheckTest | testVar10 | Success | | 0.002 |
| TypeCheckTest | testVar11 | Success | | 0.002 |
| TypeCheckTest | testVar12 | Success | | 0.001 |
| TypeCheckTest | testVar13 | Success | | 0.002 |
| TypeCheckTest | testVar14 | Success | | 0.002 |
| TypeCheckTest | testVar15 | Success | | 0.002 |
| TypeCheckTest | testAssignInference | Success | | 0.002 |
| TypeCheckTest | testOr1 | Success | | 0.002 |
| TypeCheckTest | testOr2 | Success | | 0.002 |
| TypeCheckTest | testOr3 | Success | | 0.002 |
| TypeCheckTest | testOr4 | Success | | 0.002 |
| TypeCheckTest | testOr5 | Success | | 0.002 |
| TypeCheckTest | testAnd1 | Success | | 0.002 |
| TypeCheckTest | testAnd2 | Success | | 0.002 |
| TypeCheckTest | testAnd3 | Success | | 0.002 |
| TypeCheckTest | testAnd4 | Success | | 0.002 |
| TypeCheckTest | testAnd5 | Failure | unexpected warnings(s):
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 4 : 14
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 4 : 14 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testAnd5(TypeCheckTest.java:5006)
| 0.003 |
| TypeCheckTest | testAnd6 | Success | | 0.002 |
| TypeCheckTest | testAnd7 | Success | | 0.002 |
| TypeCheckTest | testAnd8 | Success | | 0.002 |
| TypeCheckTest | testAnd9 | Success | | 0.002 |
| TypeCheckTest | testAnd10 | Success | | 0.002 |
| TypeCheckTest | testHookRestrictsType1 | Success | | 0.002 |
| TypeCheckTest | testHookRestrictsType2 | Success | | 0.001 |
| TypeCheckTest | testHookRestrictsType3 | Success | | 0.002 |
| TypeCheckTest | testHookRestrictsType4 | Success | | 0.001 |
| TypeCheckTest | testHookRestrictsType5 | Success | | 0.001 |
| TypeCheckTest | testHookRestrictsType6 | Success | | 0.002 |
| TypeCheckTest | testHookRestrictsType7 | Success | | 0.002 |
| TypeCheckTest | testWhileRestrictsType1 | Success | | 0.002 |
| TypeCheckTest | testWhileRestrictsType2 | Success | | 0.001 |
| TypeCheckTest | testHigherOrderFunctions1 | Success | | 0.002 |
| TypeCheckTest | testHigherOrderFunctions2 | Success | | 0.002 |
| TypeCheckTest | testHigherOrderFunctions3 | Success | | 0.002 |
| TypeCheckTest | testHigherOrderFunctions4 | Success | | 0.002 |
| TypeCheckTest | testHigherOrderFunctions5 | Success | | 0.002 |
| TypeCheckTest | testConstructorAlias1 | Success | | 0.002 |
| TypeCheckTest | testConstructorAlias2 | Success | | 0.003 |
| TypeCheckTest | testConstructorAlias3 | Success | | 0.003 |
| TypeCheckTest | testConstructorAlias4 | Success | | 0.002 |
| TypeCheckTest | testConstructorAlias5 | Success | | 0.002 |
| TypeCheckTest | testConstructorAlias6 | Success | | 0.002 |
| TypeCheckTest | testConstructorAlias7 | Success | | 0.002 |
| TypeCheckTest | testConstructorAlias8 | Success | | 0.002 |
| TypeCheckTest | testConstructorAlias9 | Success | | 0.002 |
| TypeCheckTest | testConstructorAlias10 | Success | | 0.002 |
| TypeCheckTest | testConstructorAlias11 | Success | | 0.001 |
| TypeCheckTest | testClosure1 | Success | | 0.001 |
| TypeCheckTest | testClosure2 | Success | | 0.004 |
| TypeCheckTest | testClosure3 | Success | | 0.002 |
| TypeCheckTest | testClosure4 | Success | | 0.001 |
| TypeCheckTest | testClosure5 | Success | | 0.001 |
| TypeCheckTest | testClosure6 | Success | | 0.002 |
| TypeCheckTest | testClosure7 | Success | | 0.001 |
| TypeCheckTest | testReturn1 | Success | | 0.001 |
| TypeCheckTest | testReturn2 | Success | | 0.002 |
| TypeCheckTest | testReturn3 | Success | | 0.001 |
| TypeCheckTest | testReturn4 | Success | | 0.002 |
| TypeCheckTest | testReturn5 | Success | | 0.001 |
| TypeCheckTest | testReturn6 | Success | | 0.002 |
| TypeCheckTest | testReturn7 | Success | | 0.002 |
| TypeCheckTest | testReturn8 | Success | | 0.001 |
| TypeCheckTest | testInferredReturn1 | Success | | 0.002 |
| TypeCheckTest | testInferredReturn2 | Success | | 0.002 |
| TypeCheckTest | testInferredReturn3 | Success | | 0.002 |
| TypeCheckTest | testInferredReturn4 | Success | | 0.001 |
| TypeCheckTest | testInferredReturn5 | Failure | expected:<[inconsistent return type
found : number
required: string]> but was:<[assignment
found : function (): number
required: function (): undefined]>
junit.framework.ComparisonFailure: expected:<[inconsistent return type found : number required: string]> but was:<[assignment found : function (): number required: function (): undefined]> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testInferredReturn5(TypeCheckTest.java:5469)
| 0.002 |
| TypeCheckTest | testInferredReturn6 | Failure | expected:<[inconsistent return type
found : (number|undefined)
required: string]> but was:<[assignment
found : function (): number
required: function (): undefined]>
junit.framework.ComparisonFailure: expected:<[inconsistent return type found : (number|undefined) required: string]> but was:<[assignment found : function (): number required: function (): undefined]> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testInferredReturn6(TypeCheckTest.java:5482)
| 0.002 |
| TypeCheckTest | testInferredReturn7 | Success | | 0.001 |
| TypeCheckTest | testInferredReturn8 | Success | | 0.001 |
| TypeCheckTest | testInferredParam1 | Success | | 0.002 |
| TypeCheckTest | testInferredParam2 | Success | | 0.001 |
| TypeCheckTest | testInferredParam3 | Success | | 0.002 |
| TypeCheckTest | testInferredParam4 | Success | | 0.002 |
| TypeCheckTest | testInferredParam5 | Success | | 0.001 |
| TypeCheckTest | testInferredParam6 | Success | | 0.002 |
| TypeCheckTest | testInferredParam7 | Success | | 0.001 |
| TypeCheckTest | testOverriddenParams1 | Success | | 0.001 |
| TypeCheckTest | testOverriddenParams2 | Success | | 0.002 |
| TypeCheckTest | testOverriddenParams3 | Success | | 0.001 |
| TypeCheckTest | testOverriddenParams4 | Success | | 0.001 |
| TypeCheckTest | testOverriddenParams5 | Success | | 0.001 |
| TypeCheckTest | testOverriddenParams6 | Success | | 0.002 |
| TypeCheckTest | testOverriddenParams7 | Success | | 0.002 |
| TypeCheckTest | testOverriddenReturn1 | Success | | 0.001 |
| TypeCheckTest | testOverriddenReturn2 | Success | | 0.002 |
| TypeCheckTest | testOverriddenReturn3 | Success | | 0.002 |
| TypeCheckTest | testOverriddenReturn4 | Success | | 0.001 |
| TypeCheckTest | testThis1 | Success | | 0.001 |
| TypeCheckTest | testOverriddenProperty1 | Success | | 0.001 |
| TypeCheckTest | testOverriddenProperty2 | Success | | 0.002 |
| TypeCheckTest | testOverriddenProperty3 | Success | | 0.002 |
| TypeCheckTest | testOverriddenProperty4 | Success | | 0.001 |
| TypeCheckTest | testOverriddenProperty5 | Success | | 0.001 |
| TypeCheckTest | testOverriddenProperty6 | Success | | 0.002 |
| TypeCheckTest | testThis2 | Success | | 0.001 |
| TypeCheckTest | testThis3 | Success | | 0.002 |
| TypeCheckTest | testThis4 | Success | | 0.002 |
| TypeCheckTest | testThis5 | Success | | 0.001 |
| TypeCheckTest | testThis6 | Success | | 0.001 |
| TypeCheckTest | testThis7 | Success | | 0.001 |
| TypeCheckTest | testThis8 | Success | | 0.001 |
| TypeCheckTest | testThis9 | Success | | 0.001 |
| TypeCheckTest | testThis10 | Success | | 0.002 |
| TypeCheckTest | testThis11 | Success | | 1.002 |
| TypeCheckTest | testThis12 | Success | | 0.003 |
| TypeCheckTest | testThis13 | Success | | 0.003 |
| TypeCheckTest | testThis14 | Success | | 0.002 |
| TypeCheckTest | testThisTypeOfFunction1 | Success | | 0.002 |
| TypeCheckTest | testThisTypeOfFunction2 | Success | | 0.001 |
| TypeCheckTest | testThisTypeOfFunction3 | Success | | 0.002 |
| TypeCheckTest | testThisTypeOfFunction4 | Success | | 0.002 |
| TypeCheckTest | testGlobalThis2b | Success | | 0.002 |
| TypeCheckTest | testGlobalThis8 | Success | | 0.002 |
| TypeCheckTest | testGlobalThis9 | Success | | 0.002 |
| TypeCheckTest | testControlFlowRestrictsType1 | Success | | 0.002 |
| TypeCheckTest | testControlFlowRestrictsType2 | Success | | 0.002 |
| TypeCheckTest | testControlFlowRestrictsType3 | Success | | 0.002 |
| TypeCheckTest | testControlFlowRestrictsType4 | Success | | 0.001 |
| TypeCheckTest | testControlFlowRestrictsType5 | Success | | 0.003 |
| TypeCheckTest | testControlFlowRestrictsType6 | Success | | 0.002 |
| TypeCheckTest | testControlFlowRestrictsType7 | Success | | 0.002 |
| TypeCheckTest | testControlFlowRestrictsType8 | Success | | 0.002 |
| TypeCheckTest | testControlFlowRestrictsType9 | Success | | 0.002 |
| TypeCheckTest | testControlFlowRestrictsType10 | Failure | unexpected warnings(s):
JSC_TYPE_MISMATCH. assignment
found : {}
required: null at [testcode] line 2 : 18
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_TYPE_MISMATCH. assignment found : {} required: null at [testcode] line 2 : 18 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testControlFlowRestrictsType10(TypeCheckTest.java:6250)
| 0.003 |
| TypeCheckTest | testControlFlowRestrictsType11 | Success | | 0.003 |
| TypeCheckTest | testSwitchCase3 | Success | | 0.002 |
| TypeCheckTest | testSwitchCase4 | Success | | 0.003 |
| TypeCheckTest | testSwitchCase5 | Success | | 0.002 |
| TypeCheckTest | testSwitchCase6 | Success | | 0.002 |
| TypeCheckTest | testSwitchCase7 | Success | | 0.002 |
| TypeCheckTest | testSwitchCase8 | Success | | 0.002 |
| TypeCheckTest | testImplicitCast | Success | | 0.001 |
| TypeCheckTest | testImplicitCastSubclassAccess | Success | | 0.001 |
| TypeCheckTest | testImplicitCastNotInExterns | Success | | 0.001 |
| TypeCheckTest | testNumberNode | Success | | 0.001 |
| TypeCheckTest | testStringNode | Success | | 0.001 |
| TypeCheckTest | testBooleanNodeTrue | Success | | 0.001 |
| TypeCheckTest | testBooleanNodeFalse | Success | | 0.000 |
| TypeCheckTest | testUndefinedNode | Success | | 0.000 |
| TypeCheckTest | testNumberAutoboxing | Success | | 0.002 |
| TypeCheckTest | testNumberUnboxing | Success | | 0.002 |
| TypeCheckTest | testStringAutoboxing | Success | | 0.002 |
| TypeCheckTest | testStringUnboxing | Success | | 0.001 |
| TypeCheckTest | testBooleanAutoboxing | Success | | 0.001 |
| TypeCheckTest | testBooleanUnboxing | Success | | 0.002 |
| TypeCheckTest | testIIFE1 | Success | | 0.002 |
| TypeCheckTest | testIIFE2 | Success | | 0.002 |
| TypeCheckTest | testIIFE3 | Success | | 0.002 |
| TypeCheckTest | testIIFE4 | Success | | 0.002 |
| TypeCheckTest | testIIFE5 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testIIFE5(TypeCheckTest.java:6508)
| 0.002 |
| TypeCheckTest | testNotIIFE1 | Success | | 0.002 |
| TypeCheckTest | testNamespaceType1 | Success | | 0.002 |
| TypeCheckTest | testNamespaceType2 | Success | | 0.003 |
| TypeCheckTest | testIssue61 | Success | | 0.003 |
| TypeCheckTest | testIssue61b | Success | | 0.002 |
| TypeCheckTest | testIssue86 | Success | | 0.002 |
| TypeCheckTest | testIssue124 | Failure | unexpected warnings(s):
JSC_DETERMINISTIC_TEST. condition always evaluates to false
left : null
right: null at [testcode] line 1 : 36
JSC_TYPE_MISMATCH. assignment
found : number
required: null at [testcode] line 1 : 62
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_DETERMINISTIC_TEST. condition always evaluates to false left : null right: null at [testcode] line 1 : 36 JSC_TYPE_MISMATCH. assignment found : number required: null at [testcode] line 1 : 62 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testIssue124(TypeCheckTest.java:6586)
| 0.002 |
| TypeCheckTest | testIssue124b | Failure | expected:<...tes to false
left : [(null|undefined)]
right: null> but was:<...tes to false
left : [null]
right: null>
junit.framework.ComparisonFailure: expected:<...tes to false left : [(null|undefined)] right: null> but was:<...tes to false left : [null] right: null> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testIssue124b(TypeCheckTest.java:6595)
| 0.002 |
| TypeCheckTest | testIssue259 | Success | | 0.002 |
| TypeCheckTest | testIssue301 | Success | | 0.002 |
| TypeCheckTest | testIssue368 | Success | | 0.002 |
| TypeCheckTest | testIssue380 | Success | | 0.002 |
| TypeCheckTest | testIssue483 | Success | | 0.002 |
| TypeCheckTest | testIssue537a | Success | | 0.002 |
| TypeCheckTest | testIssue537b | Success | | 0.002 |
| TypeCheckTest | testIssue537c | Success | | 0.003 |
| TypeCheckTest | testIssue537d | Success | | 0.002 |
| TypeCheckTest | testIssue586 | Success | | 0.002 |
| TypeCheckTest | testIssue635 | Success | | 0.002 |
| TypeCheckTest | testIssue635b | Success | | 0.002 |
| TypeCheckTest | testIssue669 | Success | | 0.002 |
| TypeCheckTest | testIssue688 | Success | | 0.002 |
| TypeCheckTest | testIssue700 | Success | | 0.003 |
| TypeCheckTest | testIssue725 | Success | | 0.003 |
| TypeCheckTest | testIssue726 | Success | | 0.003 |
| TypeCheckTest | testIssue765 | Success | | 0.002 |
| TypeCheckTest | testIssue783 | Success | | 0.003 |
| TypeCheckTest | testIssue791 | Success | | 0.001 |
| TypeCheckTest | testIssue810 | Success | | 0.001 |
| TypeCheckTest | testIssue1002 | Success | | 0.004 |
| TypeCheckTest | testIssue1023 | Success | | 0.002 |
| TypeCheckTest | testIssue1047 | Success | | 0.002 |
| TypeCheckTest | testIssue1056 | Success | | 0.002 |
| TypeCheckTest | testIssue1072 | Success | | 0.003 |
| TypeCheckTest | testIssue1123 | Success | | 0.002 |
| TypeCheckTest | testIssue1201 | Success | | 0.002 |
| TypeCheckTest | testIssue1201b | Success | | 0.007 |
| TypeCheckTest | testIssue1201c | Success | | 0.002 |
| TypeCheckTest | testIssue926a | Success | | 0.001 |
| TypeCheckTest | testIssue926b | Success | | 0.001 |
| TypeCheckTest | testEnums | Success | | 0.002 |
| TypeCheckTest | testBug592170 | Success | | 0.002 |
| TypeCheckTest | testBug901455 | Success | | 0.003 |
| TypeCheckTest | testBug908701 | Success | | 0.001 |
| TypeCheckTest | testBug908625 | Success | | 0.001 |
| TypeCheckTest | testBug911118 | Success | | 0.003 |
| TypeCheckTest | testBug909000 | Success | | 0.001 |
| TypeCheckTest | testBug930117 | Success | | 0.001 |
| TypeCheckTest | testBug1484445 | Success | | 0.002 |
| TypeCheckTest | testBug1859535 | Failure | unexpected warnings(s):
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 7 : 176
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 7 : 176 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testBug1859535(TypeCheckTest.java:7227)
| 0.002 |
| TypeCheckTest | testBug1940591 | Success | | 0.002 |
| TypeCheckTest | testBug1942972 | Success | | 0.001 |
| TypeCheckTest | testBug1943776 | Success | | 0.001 |
| TypeCheckTest | testBug1987544 | Success | | 0.002 |
| TypeCheckTest | testBug1940769 | Success | | 0.002 |
| TypeCheckTest | testBug2335992 | Success | | 0.002 |
| TypeCheckTest | testBug2341812 | Success | | 0.002 |
| TypeCheckTest | testBug7701884 | Failure | unexpected warnings(s):
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 8 : 95
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 8 : 95 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testBug7701884(TypeCheckTest.java:7335)
| 0.002 |
| TypeCheckTest | testBug8017789 | Success | | 0.002 |
| TypeCheckTest | testBug12441160 | Success | | 0.002 |
| TypeCheckTest | testBug13641083a | Success | | 0.003 |
| TypeCheckTest | testBug13641083b | Success | | 0.001 |
| TypeCheckTest | testTypedefBeforeUse | Success | | 0.001 |
| TypeCheckTest | testScopedConstructors1 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testScopedConstructors1(TypeCheckTest.java:7416)
| 0.001 |
| TypeCheckTest | testScopedConstructors2 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameInference1 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameInference2 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameInference3 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameInference4 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameInference5 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameInference6 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameInference7 | Success | | 0.003 |
| TypeCheckTest | testQualifiedNameInference8 | Success | | 0.001 |
| TypeCheckTest | testQualifiedNameInference9 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameInference10 | Success | | 0.002 |
| TypeCheckTest | testQualifiedNameInference11 | Success | | 0.001 |
| TypeCheckTest | testQualifiedNameInference12 | Success | | 0.001 |
| TypeCheckTest | testQualifiedNameInference13 | Success | | 0.002 |
| TypeCheckTest | testSheqRefinedScope | Success | | 0.002 |
| TypeCheckTest | testAssignToUntypedVariable | Success | | 0.001 |
| TypeCheckTest | testAssignToUntypedProperty | Success | | 0.002 |
| TypeCheckTest | testNew3 | Success | | 0.002 |
| TypeCheckTest | testNew4 | Success | | 0.001 |
| TypeCheckTest | testNew5 | Success | | 0.002 |
| TypeCheckTest | testNew6 | Success | | 0.002 |
| TypeCheckTest | testNew7 | Success | | 0.002 |
| TypeCheckTest | testNew8 | Success | | 0.002 |
| TypeCheckTest | testNew9 | Success | | 0.002 |
| TypeCheckTest | testNew10 | Success | | 0.001 |
| TypeCheckTest | testNew11 | Success | | 0.001 |
| TypeCheckTest | testNew12 | Success | | 0.003 |
| TypeCheckTest | testNew13 | Success | | 0.002 |
| TypeCheckTest | testNew14 | Success | | 0.003 |
| TypeCheckTest | testNew15 | Success | | 0.003 |
| TypeCheckTest | testNew16 | Success | | 0.003 |
| TypeCheckTest | testNew17 | Success | | 0.002 |
| TypeCheckTest | testNew18 | Success | | 0.003 |
| TypeCheckTest | testName1 | Success | | 0.001 |
| TypeCheckTest | testName2 | Success | | 0.001 |
| TypeCheckTest | testName3 | Success | | 0.001 |
| TypeCheckTest | testName4 | Success | | 0.000 |
| TypeCheckTest | testName5 | Success | | 0.000 |
| TypeCheckTest | testBitOperation1 | Success | | 0.003 |
| TypeCheckTest | testBitOperation2 | Success | | 0.003 |
| TypeCheckTest | testBitOperation3 | Success | | 0.003 |
| TypeCheckTest | testBitOperation4 | Success | | 0.003 |
| TypeCheckTest | testBitOperation5 | Success | | 0.003 |
| TypeCheckTest | testBitOperation6 | Success | | 0.002 |
| TypeCheckTest | testBitOperation7 | Success | | 0.002 |
| TypeCheckTest | testBitOperation8 | Success | | 0.001 |
| TypeCheckTest | testBitOperation9 | Success | | 0.002 |
| TypeCheckTest | testCall3 | Success | | 0.002 |
| TypeCheckTest | testCall4 | Success | | 0.003 |
| TypeCheckTest | testCall5 | Success | | 0.003 |
| TypeCheckTest | testCall6 | Success | | 0.003 |
| TypeCheckTest | testCall7 | Success | | 0.004 |
| TypeCheckTest | testCall8 | Success | | 0.002 |
| TypeCheckTest | testCall9 | Success | | 0.002 |
| TypeCheckTest | testCall10 | Success | | 0.002 |
| TypeCheckTest | testCall11 | Success | | 0.002 |
| TypeCheckTest | testFunctionCall1 | Success | | 0.002 |
| TypeCheckTest | testFunctionCall2 | Success | | 0.001 |
| TypeCheckTest | testFunctionCall3 | Success | | 0.002 |
| TypeCheckTest | testFunctionCall4 | Success | | 0.002 |
| TypeCheckTest | testFunctionCall5 | Failure | unexpected warnings(s):
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 2 : 49
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 2 : 49 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testFunctionCall5(TypeCheckTest.java:7989)
| 0.001 |
| TypeCheckTest | testFunctionCall6 | Failure | unexpected warnings(s):
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 2 : 49
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 2 : 49 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testFunctionCall6(TypeCheckTest.java:7995)
| 0.001 |
| TypeCheckTest | testFunctionCall7 | Failure | unexpected warnings(s):
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 2 : 79
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 2 : 79 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testFunctionCall7(TypeCheckTest.java:8001)
| 0.001 |
| TypeCheckTest | testFunctionCall8 | Failure | unexpected warnings(s):
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 2 : 79
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 2 : 79 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testFunctionCall8(TypeCheckTest.java:8009)
| 0.002 |
| TypeCheckTest | testFunctionCall9 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testFunctionCall9(TypeCheckTest.java:8017)
| 0.003 |
| TypeCheckTest | testFunctionBind1 | Success | | 0.002 |
| TypeCheckTest | testFunctionBind2 | Success | | 0.002 |
| TypeCheckTest | testFunctionBind3 | Success | | 0.002 |
| TypeCheckTest | testFunctionBind4 | Success | | 0.003 |
| TypeCheckTest | testFunctionBind5 | Success | | 0.002 |
| TypeCheckTest | testFunctionBind6 | Success | | 0.003 |
| TypeCheckTest | testFunctionBind7 | Success | | 0.002 |
| TypeCheckTest | testFunctionBind8 | Success | | 0.002 |
| TypeCheckTest | testFunctionBind9 | Success | | 0.001 |
| TypeCheckTest | testGoogBind1 | Success | | 0.001 |
| TypeCheckTest | testGoogBind2 | Success | | 0.001 |
| TypeCheckTest | testCast2 | Success | | 0.001 |
| TypeCheckTest | testCast3 | Success | | 0.002 |
| TypeCheckTest | testCast3a | Success | | 0.002 |
| TypeCheckTest | testCast4 | Success | | 0.001 |
| TypeCheckTest | testCast4Types | Success | | 0.002 |
| TypeCheckTest | testCast5 | Success | | 0.001 |
| TypeCheckTest | testCast5a | Success | | 0.001 |
| TypeCheckTest | testCast6 | Success | | 0.002 |
| TypeCheckTest | testCast7 | Success | | 0.002 |
| TypeCheckTest | testCast8 | Success | | 0.002 |
| TypeCheckTest | testCast9 | Success | | 0.001 |
| TypeCheckTest | testCast10 | Success | | 0.002 |
| TypeCheckTest | testCast11 | Success | | 0.002 |
| TypeCheckTest | testCast12 | Success | | 0.002 |
| TypeCheckTest | testCast13 | Success | | 0.002 |
| TypeCheckTest | testCast14 | Success | | 0.001 |
| TypeCheckTest | testCast15 | Success | | 0.002 |
| TypeCheckTest | testCast16 | Success | | 0.003 |
| TypeCheckTest | testCast17a | Success | | 0.003 |
| TypeCheckTest | testCast17b | Success | | 0.001 |
| TypeCheckTest | testCast19 | Success | | 0.002 |
| TypeCheckTest | testCast20 | Success | | 0.001 |
| TypeCheckTest | testCast21 | Success | | 0.002 |
| TypeCheckTest | testCast22 | Success | | 0.002 |
| TypeCheckTest | testCast23 | Success | | 0.002 |
| TypeCheckTest | testCast24 | Success | | 0.002 |
| TypeCheckTest | testCast25 | Success | | 0.002 |
| TypeCheckTest | testCast26 | Success | | 0.002 |
| TypeCheckTest | testCast27 | Success | | 0.003 |
| TypeCheckTest | testCast27a | Success | | 0.002 |
| TypeCheckTest | testCast28 | Success | | 0.002 |
| TypeCheckTest | testCast28a | Success | | 0.002 |
| TypeCheckTest | testCast29a | Success | | 0.002 |
| TypeCheckTest | testCast29b | Success | | 0.001 |
| TypeCheckTest | testCast29c | Success | | 0.001 |
| TypeCheckTest | testCast30 | Success | | 0.002 |
| TypeCheckTest | testCast31 | Success | | 0.001 |
| TypeCheckTest | testCast32 | Success | | 0.001 |
| TypeCheckTest | testCast33 | Success | | 0.006 |
| TypeCheckTest | testCast34a | Success | | 0.002 |
| TypeCheckTest | testCast34b | Success | | 0.002 |
| TypeCheckTest | testUnnecessaryCastToSuperType | Success | | 0.002 |
| TypeCheckTest | testUnnecessaryCastToSameType | Success | | 0.002 |
| TypeCheckTest | testUnnecessaryCastToUnknown | Success | | 0.002 |
| TypeCheckTest | testUnnecessaryCastFromUnknown | Success | | 0.002 |
| TypeCheckTest | testUnnecessaryCastToAndFromUnknown | Success | | 0.002 |
| TypeCheckTest | testUnnecessaryCastToNonNullType | Success | | 0.003 |
| TypeCheckTest | testUnnecessaryCastToStar | Success | | 0.002 |
| TypeCheckTest | testNoUnnecessaryCastNoResolvedType | Success | | 0.002 |
| TypeCheckTest | testNestedCasts | Success | | 0.002 |
| TypeCheckTest | testNativeCast1 | Success | | 0.003 |
| TypeCheckTest | testNativeCast2 | Success | | 0.002 |
| TypeCheckTest | testNativeCast3 | Success | | 0.003 |
| TypeCheckTest | testNativeCast4 | Success | | 0.003 |
| TypeCheckTest | testBadConstructorCall | Success | | 0.002 |
| TypeCheckTest | testConstDecl1 | Success | | 0.002 |
| TypeCheckTest | testConstDecl2 | Success | | 0.002 |
| TypeCheckTest | testConstructorType1 | Success | | 0.002 |
| TypeCheckTest | testConstructorType2 | Success | | 0.002 |
| TypeCheckTest | testConstructorType3 | Success | | 0.002 |
| TypeCheckTest | testConstructorType4 | Success | | 0.001 |
| TypeCheckTest | testConstructorType5 | Success | | 0.002 |
| TypeCheckTest | testConstructorType6 | Success | | 0.001 |
| TypeCheckTest | testConstructorType7 | Success | | 0.001 |
| TypeCheckTest | testConstructorType8 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testConstructorType8(TypeCheckTest.java:8821)
| 0.002 |
| TypeCheckTest | testConstructorType9 | Success | | 0.002 |
| TypeCheckTest | testConstructorType10 | Success | | 0.002 |
| TypeCheckTest | testConstructorType11 | Success | | 0.002 |
| TypeCheckTest | testConstructorType12 | Success | | 0.002 |
| TypeCheckTest | testBadStruct | Success | | 0.002 |
| TypeCheckTest | testBadDict | Success | | 0.002 |
| TypeCheckTest | testAnonymousPrototype1 | Success | | 0.003 |
| TypeCheckTest | testAnonymousPrototype2 | Success | | 0.002 |
| TypeCheckTest | testAnonymousType1 | Success | | 0.002 |
| TypeCheckTest | testAnonymousType2 | Success | | 0.002 |
| TypeCheckTest | testAnonymousType3 | Success | | 0.002 |
| TypeCheckTest | testBang1 | Success | | 0.001 |
| TypeCheckTest | testBang2 | Success | | 0.002 |
| TypeCheckTest | testBang3 | Success | | 0.002 |
| TypeCheckTest | testBang4 | Success | | 0.002 |
| TypeCheckTest | testBang5 | Success | | 0.002 |
| TypeCheckTest | testBang6 | Success | | 0.002 |
| TypeCheckTest | testBang7 | Success | | 0.002 |
| TypeCheckTest | testDefinePropertyOnNullableObject1 | Success | | 0.002 |
| TypeCheckTest | testDefinePropertyOnNullableObject2 | Success | | 0.002 |
| TypeCheckTest | testUnknownConstructorInstanceType1 | Success | | 0.002 |
| TypeCheckTest | testUnknownConstructorInstanceType2 | Success | | 0.002 |
| TypeCheckTest | testUnknownConstructorInstanceType3 | Success | | 0.001 |
| TypeCheckTest | testUnknownPrototypeChain | Success | | 0.002 |
| TypeCheckTest | testNamespacedConstructor | Success | | 0.002 |
| TypeCheckTest | testComplexNamespace | Success | | 0.002 |
| TypeCheckTest | testAddingMethodsUsingPrototypeIdiomSimpleNamespace | Success | | 0.002 |
| TypeCheckTest | testAddingMethodsUsingPrototypeIdiomComplexNamespace1 | Success | | 0.002 |
| TypeCheckTest | testAddingMethodsUsingPrototypeIdiomComplexNamespace2 | Success | | 0.002 |
| TypeCheckTest | testAddingMethodsPrototypeIdiomAndObjectLiteralSimpleNamespace | Success | | 0.002 |
| TypeCheckTest | testDontAddMethodsIfNoConstructor | Success | | 0.002 |
| TypeCheckTest | testFunctionAssignement | Success | | 0.002 |
| TypeCheckTest | testAddMethodsPrototypeTwoWays | Success | | 0.002 |
| TypeCheckTest | testPrototypePropertyTypes | Success | | 0.003 |
| TypeCheckTest | testValueTypeBuiltInPrototypePropertyType | Success | | 0.002 |
| TypeCheckTest | testDeclareBuiltInConstructor | Success | | 0.002 |
| TypeCheckTest | testExtendBuiltInType1 | Success | | 0.002 |
| TypeCheckTest | testExtendBuiltInType2 | Success | | 0.002 |
| TypeCheckTest | testExtendFunction1 | Success | | 0.003 |
| TypeCheckTest | testExtendFunction2 | Success | | 0.001 |
| TypeCheckTest | testInheritanceCheck1 | Success | | 0.002 |
| TypeCheckTest | testInheritanceCheck2 | Success | | 0.002 |
| TypeCheckTest | testInheritanceCheck3 | Success | | 0.002 |
| TypeCheckTest | testInheritanceCheck4 | Success | | 0.001 |
| TypeCheckTest | testInheritanceCheck5 | Success | | 0.001 |
| TypeCheckTest | testInheritanceCheck6 | Success | | 0.001 |
| TypeCheckTest | testInheritanceCheck7 | Success | | 0.001 |
| TypeCheckTest | testInheritanceCheck8 | Success | | 0.001 |
| TypeCheckTest | testInheritanceCheck9_1 | Success | | 0.002 |
| TypeCheckTest | testInheritanceCheck9_2 | Success | | 0.002 |
| TypeCheckTest | testInheritanceCheck9_3 | Success | | 0.001 |
| TypeCheckTest | testInheritanceCheck10_1 | Success | | 0.002 |
| TypeCheckTest | testInheritanceCheck10_2 | Success | | 0.001 |
| TypeCheckTest | testInheritanceCheck10_3 | Success | | 0.002 |
| TypeCheckTest | testInterfaceInheritanceCheck11 | Success | | 0.002 |
| TypeCheckTest | testInheritanceCheck12 | Success | | 0.001 |
| TypeCheckTest | testInheritanceCheck13 | Success | | 0.002 |
| TypeCheckTest | testInheritanceCheck14 | Success | | 0.001 |
| TypeCheckTest | testInheritanceCheck15 | Success | | 0.002 |
| TypeCheckTest | testInheritanceCheck16 | Success | | 0.001 |
| TypeCheckTest | testInheritanceCheck17 | Success | | 0.001 |
| TypeCheckTest | testInterfacePropertyOverride1 | Success | | 0.003 |
| TypeCheckTest | testInterfacePropertyOverride2 | Success | | 0.002 |
| TypeCheckTest | testInterfaceInheritanceCheck1 | Success | | 0.001 |
| TypeCheckTest | testInterfaceInheritanceCheck2 | Success | | 0.001 |
| TypeCheckTest | testInterfaceInheritanceCheck3 | Success | | 0.003 |
| TypeCheckTest | testInterfaceInheritanceCheck4 | Success | | 0.002 |
| TypeCheckTest | testInterfaceInheritanceCheck5 | Success | | 0.002 |
| TypeCheckTest | testInterfaceInheritanceCheck6 | Success | | 0.002 |
| TypeCheckTest | testInterfaceInheritanceCheck7 | Success | | 0.001 |
| TypeCheckTest | testInterfaceInheritanceCheck8 | Success | | 0.001 |
| TypeCheckTest | testInterfaceInheritanceCheck9 | Success | | 0.002 |
| TypeCheckTest | testInterfaceInheritanceCheck10 | Success | | 0.002 |
| TypeCheckTest | testInterfaceInheritanceCheck12 | Success | | 0.001 |
| TypeCheckTest | testInterfaceInheritanceCheck13 | Success | | 0.001 |
| TypeCheckTest | testInterfaceInheritanceCheck14 | Success | | 0.002 |
| TypeCheckTest | testInterfaceInheritanceCheck15 | Success | | 0.002 |
| TypeCheckTest | testInterfaceInheritanceCheck16 | Success | | 0.002 |
| TypeCheckTest | testInterfacePropertyNotImplemented | Success | | 0.001 |
| TypeCheckTest | testInterfacePropertyNotImplemented2 | Success | | 0.002 |
| TypeCheckTest | testInterfacePropertyNotImplemented3 | Success | | 0.003 |
| TypeCheckTest | testStubConstructorImplementingInterface | Success | | 0.001 |
| TypeCheckTest | testObjectLiteralDeclaration1 | Success | | 0.002 |
| TypeCheckTest | testObjectLiteralDeclaration2 | Success | | 0.002 |
| TypeCheckTest | testObjectLiteralDeclaration3 | Success | | 0.001 |
| TypeCheckTest | testObjectLiteralDeclaration4 | Success | | 0.001 |
| TypeCheckTest | testObjectLiteralDeclaration5 | Success | | 0.001 |
| TypeCheckTest | testObjectLiteralDeclaration6 | Failure | unexpected warnings(s):
JSC_TYPE_MISMATCH. assignment
found : {abc: function (boolean): undefined}
required: {abc: function (boolean): undefined} at [testcode] line 4 : 27
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_TYPE_MISMATCH. assignment found : {abc: function (boolean): undefined} required: {abc: function (boolean): undefined} at [testcode] line 4 : 27 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testObjectLiteralDeclaration6(TypeCheckTest.java:9829)
| 0.002 |
| TypeCheckTest | testObjectLiteralDeclaration7 | Failure | unexpected warnings(s):
JSC_TYPE_MISMATCH. assignment
found : {abc: function (boolean): undefined}
required: {abc: function (boolean): undefined} at [testcode] line 3 : 27
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_TYPE_MISMATCH. assignment found : {abc: function (boolean): undefined} required: {abc: function (boolean): undefined} at [testcode] line 3 : 27 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testObjectLiteralDeclaration7(TypeCheckTest.java:9845)
| 0.002 |
| TypeCheckTest | testCallDateConstructorAsFunction | Success | | 0.002 |
| TypeCheckTest | testCallErrorConstructorAsFunction | Success | | 0.002 |
| TypeCheckTest | testCallArrayConstructorAsFunction | Success | | 0.002 |
| TypeCheckTest | testPropertyTypeOfUnionType | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testPropertyTypeOfUnionType(TypeCheckTest.java:9882)
| 0.002 |
| TypeCheckTest | testAnnotatedPropertyOnInterface1 | Success | | 0.002 |
| TypeCheckTest | testAnnotatedPropertyOnInterface2 | Success | | 0.002 |
| TypeCheckTest | testAnnotatedPropertyOnInterface3 | Success | | 0.001 |
| TypeCheckTest | testAnnotatedPropertyOnInterface4 | Success | | 0.002 |
| TypeCheckTest | testWarnUnannotatedPropertyOnInterface5 | Success | | 0.002 |
| TypeCheckTest | testWarnUnannotatedPropertyOnInterface6 | Success | | 0.001 |
| TypeCheckTest | testDataPropertyOnInterface1 | Success | | 0.002 |
| TypeCheckTest | testDataPropertyOnInterface2 | Success | | 0.002 |
| TypeCheckTest | testDataPropertyOnInterface3 | Success | | 0.001 |
| TypeCheckTest | testDataPropertyOnInterface4 | Success | | 0.002 |
| TypeCheckTest | testWarnDataPropertyOnInterface3 | Success | | 0.001 |
| TypeCheckTest | testWarnDataPropertyOnInterface4 | Success | | 0.001 |
| TypeCheckTest | testErrorMismatchingPropertyOnInterface4 | Success | | 0.002 |
| TypeCheckTest | testErrorMismatchingPropertyOnInterface5 | Success | | 0.001 |
| TypeCheckTest | testErrorMismatchingPropertyOnInterface6 | Success | | 0.002 |
| TypeCheckTest | testDoubleNestedInterface | Success | | 0.002 |
| TypeCheckTest | testStaticDataPropertyOnNestedInterface | Success | | 0.002 |
| TypeCheckTest | testInterfaceInstantiation | Success | | 0.001 |
| TypeCheckTest | testPrototypeLoop | Success | | 0.001 |
| TypeCheckTest | testImplementsLoop | Success | | 0.001 |
| TypeCheckTest | testImplementsExtendsLoop | Success | | 0.002 |
| TypeCheckTest | testInterfaceExtendsLoop | Success | | 0.001 |
| TypeCheckTest | testConversionFromInterfaceToRecursiveConstructor | Success | | 0.002 |
| TypeCheckTest | testDirectPrototypeAssign | Success | | 0.002 |
| TypeCheckTest | testResolutionViaRegistry1 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testResolutionViaRegistry1(TypeCheckTest.java:10190)
| 0.002 |
| TypeCheckTest | testResolutionViaRegistry2 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testResolutionViaRegistry2(TypeCheckTest.java:10203)
| 0.002 |
| TypeCheckTest | testResolutionViaRegistry3 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testResolutionViaRegistry3(TypeCheckTest.java:10217)
| 0.003 |
| TypeCheckTest | testResolutionViaRegistry4 | Success | | 0.003 |
| TypeCheckTest | testResolutionViaRegistry5 | Success | | 0.001 |
| TypeCheckTest | testGatherProperyWithoutAnnotation1 | Success | | 0.002 |
| TypeCheckTest | testGatherProperyWithoutAnnotation2 | Success | | 0.001 |
| TypeCheckTest | testFunctionMasksVariableBug | Success | | 0.002 |
| TypeCheckTest | testDfa1 | Failure | unexpected warnings(s):
JSC_TYPE_MISMATCH. assignment
found : number
required: null at [testcode] line 2 : 1
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_TYPE_MISMATCH. assignment found : number required: null at [testcode] line 2 : 1 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testDfa1(TypeCheckTest.java:10284)
| 0.002 |
| TypeCheckTest | testDfa2 | Failure | unexpected warnings(s):
JSC_TYPE_MISMATCH. assignment
found : number
required: string at [testcode] line 4 : 11
JSC_TYPE_MISMATCH. assignment
found : number
required: string at [testcode] line 4 : 27
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_TYPE_MISMATCH. assignment found : number required: string at [testcode] line 4 : 11 JSC_TYPE_MISMATCH. assignment found : number required: string at [testcode] line 4 : 27 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testDfa2(TypeCheckTest.java:10288)
| 0.003 |
| TypeCheckTest | testDfa3 | Success | | 0.002 |
| TypeCheckTest | testDfa4 | Success | | 0.001 |
| TypeCheckTest | testDfa5 | Success | | 0.002 |
| TypeCheckTest | testDfa6 | Success | | 0.001 |
| TypeCheckTest | testDfa7 | Success | | 0.001 |
| TypeCheckTest | testDfa8 | Success | | 0.003 |
| TypeCheckTest | testDfa9 | Success | | 0.002 |
| TypeCheckTest | testDfa10 | Success | | 0.002 |
| TypeCheckTest | testDfa11 | Success | | 0.002 |
| TypeCheckTest | testDfa12 | Success | | 0.002 |
| TypeCheckTest | testDfa13 | Failure | unexpected warnings(s):
JSC_TYPE_MISMATCH. assignment
found : number
required: string at [testcode] line 5 : 60
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_TYPE_MISMATCH. assignment found : number required: string at [testcode] line 5 : 60 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testDfa13(TypeCheckTest.java:10372)
| 0.003 |
| TypeCheckTest | testTypeInferenceWithCast1 | Success | | 0.002 |
| TypeCheckTest | testTypeInferenceWithCast2 | Success | | 0.001 |
| TypeCheckTest | testTypeInferenceWithCast3 | Success | | 0.001 |
| TypeCheckTest | testTypeInferenceWithCast4 | Success | | 0.001 |
| TypeCheckTest | testTypeInferenceWithCast5 | Success | | 0.001 |
| TypeCheckTest | testTypeInferenceWithClosure1 | Success | | 0.001 |
| TypeCheckTest | testTypeInferenceWithClosure2 | Success | | 0.002 |
| TypeCheckTest | testTypeInferenceWithNoEntry1 | Success | | 0.002 |
| TypeCheckTest | testTypeInferenceWithNoEntry2 | Success | | 0.002 |
| TypeCheckTest | testForwardPropertyReference | Success | | 0.001 |
| TypeCheckTest | testNoForwardTypeDeclaration | Success | | 0.001 |
| TypeCheckTest | testNoForwardTypeDeclarationAndNoBraces | Success | | 0.002 |
| TypeCheckTest | testForwardTypeDeclaration1 | Success | | 0.001 |
| TypeCheckTest | testForwardTypeDeclaration2 | Failure | expected:<[actual parameter 1 of f does not match formal parameter
found : number
required: (MyType|null)]> but was:<[actual parameter 1 of f does not match formal parameter
found : number
required: (null)]>
junit.framework.AssertionFailedError: expected:<[actual parameter 1 of f does not match formal parameter found : number required: (MyType|null)]> but was:<[actual parameter 1 of f does not match formal parameter found : number required: (null)]> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13225) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testForwardTypeDeclaration2(TypeCheckTest.java:10540)
| 0.002 |
| TypeCheckTest | testForwardTypeDeclaration3 | Success | | 0.002 |
| TypeCheckTest | testForwardTypeDeclaration4 | Success | | 0.001 |
| TypeCheckTest | testForwardTypeDeclaration5 | Success | | 0.002 |
| TypeCheckTest | testForwardTypeDeclaration6 | Success | | 0.001 |
| TypeCheckTest | testForwardTypeDeclaration7 | Failure | unexpected warning(s) : JSC_DETERMINISTIC_TEST. condition always evaluates to true
left : (null|undefined)
right: undefined at [testcode] line 1 : 93 expected:<0> but was:<1>
junit.framework.AssertionFailedError: unexpected warning(s) : JSC_DETERMINISTIC_TEST. condition always evaluates to true left : (null|undefined) right: undefined at [testcode] line 1 : 93 expected:<0> but was:<1> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13212) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testForwardTypeDeclaration7(TypeCheckTest.java:10591)
| 0.001 |
| TypeCheckTest | testForwardTypeDeclaration8 | Failure | unexpected warning(s) : JSC_TYPE_MISMATCH. No properties on this expression
found : (null)
required: Object at [testcode] line 1 : 92 expected:<0> but was:<1>
junit.framework.AssertionFailedError: unexpected warning(s) : JSC_TYPE_MISMATCH. No properties on this expression found : (null) required: Object at [testcode] line 1 : 92 expected:<0> but was:<1> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13212) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testForwardTypeDeclaration8(TypeCheckTest.java:10598)
| 0.001 |
| TypeCheckTest | testForwardTypeDeclaration9 | Failure | unexpected warning(s) : JSC_TYPE_MISMATCH. No properties on this expression
found : (null)
required: Object at [testcode] line 1 : 85 expected:<0> but was:<1>
junit.framework.AssertionFailedError: unexpected warning(s) : JSC_TYPE_MISMATCH. No properties on this expression found : (null) required: Object at [testcode] line 1 : 85 expected:<0> but was:<1> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13212) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testForwardTypeDeclaration9(TypeCheckTest.java:10605)
| 0.002 |
| TypeCheckTest | testForwardTypeDeclaration10 | Failure | expected:<[actual parameter 1 of f does not match formal parameter
found : string
required: (MyType|null|number)]> but was:<[actual parameter 1 of f does not match formal parameter
found : string
required: (null|number)]>
junit.framework.AssertionFailedError: expected:<[actual parameter 1 of f does not match formal parameter found : string required: (MyType|null|number)]> but was:<[actual parameter 1 of f does not match formal parameter found : string required: (null|number)]> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13225) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testForwardTypeDeclaration10(TypeCheckTest.java:10616)
| 0.003 |
| TypeCheckTest | testForwardTypeDeclaration12 | Success | | 0.001 |
| TypeCheckTest | testForwardTypeDeclaration13 | Success | | 0.002 |
| TypeCheckTest | testDuplicateTypeDef | Success | | 0.002 |
| TypeCheckTest | testTypeDef1 | Success | | 0.002 |
| TypeCheckTest | testTypeDef2 | Success | | 0.002 |
| TypeCheckTest | testTypeDef3 | Success | | 0.001 |
| TypeCheckTest | testTypeDef4 | Success | | 0.002 |
| TypeCheckTest | testTypeDef5 | Success | | 0.001 |
| TypeCheckTest | testCircularTypeDef | Success | | 0.001 |
| TypeCheckTest | testGetTypedPercent1 | Success | | 0.001 |
| TypeCheckTest | testGetTypedPercent2 | Success | | 0.001 |
| TypeCheckTest | testGetTypedPercent3 | Success | | 0.001 |
| TypeCheckTest | testGetTypedPercent4 | Success | | 0.000 |
| TypeCheckTest | testGetTypedPercent5 | Success | | 0.001 |
| TypeCheckTest | testGetTypedPercent6 | Success | | 0.001 |
| TypeCheckTest | testPrototypePropertyReference | Failure | expected:<0> but was:<1>
junit.framework.AssertionFailedError: expected:<0> but was:<1> at com.google.javascript.jscomp.TypeCheckTest.testPrototypePropertyReference(TypeCheckTest.java:10788)
| 0.002 |
| TypeCheckTest | testResolvingNamedTypes | Failure | expected:<100.0> but was:<90.9090909090909>
junit.framework.AssertionFailedError: expected:<100.0> but was:<90.9090909090909> at com.google.javascript.jscomp.TypeCheckTest.testResolvingNamedTypes(TypeCheckTest.java:10811)
| 0.002 |
| TypeCheckTest | testMissingProperty1 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty2 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty3 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty4 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty5 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty6 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty7 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty8 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty9 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty10 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty11 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty12 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty13 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty14 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty15 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty16 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty17 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty18 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty19 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty20 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty21 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty22 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty23 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty24 | Failure | unexpected warning(s) : JSC_TYPE_MISMATCH. No properties on this expression
found : (null)
required: Object at [testcode] line 1 : 95 expected:<0> but was:<1>
junit.framework.AssertionFailedError: unexpected warning(s) : JSC_TYPE_MISMATCH. No properties on this expression found : (null) required: Object at [testcode] line 1 : 95 expected:<0> but was:<1> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13212) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testMissingProperty24(TypeCheckTest.java:10970)
| 0.002 |
| TypeCheckTest | testMissingProperty25 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty26 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty27 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty28 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty29 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty30 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty31 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty32 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty33 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty34 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty35 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty36 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty37 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty38 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty39 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty40 | Failure | unexpected warning(s) : JSC_INEXISTENT_PROPERTY. Property impossible never defined on Array at [testcode] line 1 : 105 expected:<0> but was:<1>
junit.framework.AssertionFailedError: unexpected warning(s) : JSC_INEXISTENT_PROPERTY. Property impossible never defined on Array at [testcode] line 1 : 105 expected:<0> but was:<1> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13212) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testMissingProperty40(TypeCheckTest.java:11127)
| 0.001 |
| TypeCheckTest | testMissingProperty41 | Success | | 0.002 |
| TypeCheckTest | testMissingProperty42 | Success | | 0.001 |
| TypeCheckTest | testMissingProperty43 | Success | | 0.001 |
| TypeCheckTest | testReflectObject1 | Success | | 0.001 |
| TypeCheckTest | testReflectObject2 | Success | | 0.001 |
| TypeCheckTest | testLends1 | Success | | 0.002 |
| TypeCheckTest | testLends2 | Success | | 0.001 |
| TypeCheckTest | testLends3 | Success | | 0.001 |
| TypeCheckTest | testLends4 | Failure | unexpected warnings(s):
JSC_INEXISTENT_PROPERTY. Property bar never defined on Foo at [testcode] line 1 : 115
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_INEXISTENT_PROPERTY. Property bar never defined on Foo at [testcode] line 1 : 115 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testLends4(TypeCheckTest.java:11203)
| 0.002 |
| TypeCheckTest | testLends5 | Success | | 0.002 |
| TypeCheckTest | testLends6 | Failure | unexpected warnings(s):
JSC_INEXISTENT_PROPERTY. Property bar never defined on Foo at [testcode] line 1 : 133
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_INEXISTENT_PROPERTY. Property bar never defined on Foo at [testcode] line 1 : 133 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13166) at com.google.javascript.jscomp.TypeCheckTest.testLends6(TypeCheckTest.java:11220)
| 0.003 |
| TypeCheckTest | testLends7 | Success | | 0.002 |
| TypeCheckTest | testLends8 | Failure | expected:<[May only lend properties to object types. Foo has type number.]> but was:<[Constructor expected as first argument]>
junit.framework.ComparisonFailure: expected:<[May only lend properties to object types. Foo has type number.]> but was:<[Constructor expected as first argument]> at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13253) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testLends8(TypeCheckTest.java:11236)
| 0.002 |
| TypeCheckTest | testLends9 | Success | | 0.001 |
| TypeCheckTest | testLends10 | Success | | 0.001 |
| TypeCheckTest | testLends11 | Success | | 0.002 |
| TypeCheckTest | testDeclaredNativeTypeEquality | Success | | 0.002 |
| TypeCheckTest | testUndefinedVar | Success | | 0.001 |
| TypeCheckTest | testFlowScopeBug1 | Success | | 0.002 |
| TypeCheckTest | testFlowScopeBug2 | Success | | 0.002 |
| TypeCheckTest | testAddSingletonGetter | Success | | 0.001 |
| TypeCheckTest | testTypeCheckStandaloneAST | Success | | 0.001 |
| TypeCheckTest | testUpdateParameterTypeOnClosure | Success | | 0.001 |
| TypeCheckTest | testTemplatedThisType1 | Success | | 0.002 |
| TypeCheckTest | testTemplatedThisType2 | Success | | 0.003 |
| TypeCheckTest | testTemplateType1 | Success | | 0.001 |
| TypeCheckTest | testTemplateType2 | Success | | 0.001 |
| TypeCheckTest | testTemplateType3 | Success | | 0.002 |
| TypeCheckTest | testTemplateType4 | Success | | 0.002 |
| TypeCheckTest | testTemplateType5 | Failure | unexpected warnings(s):
JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 8 : 6
junit.framework.AssertionFailedError: unexpected warnings(s): JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 8 : 6 at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13258) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTemplateType5(TypeCheckTest.java:11492)
| 0.001 |
| TypeCheckTest | testTemplateType6 | Success | | 0.002 |
| TypeCheckTest | testTemplateType7 | Success | | 0.002 |
| TypeCheckTest | testTemplateType8 | Success | | 0.002 |
| TypeCheckTest | testTemplateType9 | Success | | 0.001 |
| TypeCheckTest | testTemplateType10 | Success | | 0.002 |
| TypeCheckTest | testTemplateType11 | Success | | 0.001 |
| TypeCheckTest | testTemplateType12 | Success | | 0.001 |
| TypeCheckTest | testTemplateType13 | Success | | 0.002 |
| TypeCheckTest | testTemplateType14 | Success | | 0.003 |
| TypeCheckTest | testTemplateType15 | Success | | 0.002 |
| TypeCheckTest | testTemplateType16 | Success | | 0.002 |
| TypeCheckTest | testTemplateType17 | Success | | 0.002 |
| TypeCheckTest | testTemplateType18 | Success | | 0.002 |
| TypeCheckTest | testTemplateType19 | Success | | 0.002 |
| TypeCheckTest | testTemplateType20 | Success | | 0.002 |
| TypeCheckTest | testTemplateType21 | Success | | 0.002 |
| TypeCheckTest | testTemplateType22 | Success | | 0.003 |
| TypeCheckTest | testTemplateType23 | Success | | 0.002 |
| TypeCheckTest | testTemplateTypeWithUnresolvedType | Success | | 0.001 |
| TypeCheckTest | testTemplateTypeWithTypeDef1a | Success | | 0.002 |
| TypeCheckTest | testTemplateTypeWithTypeDef1b | Success | | 0.002 |
| TypeCheckTest | testTemplateTypeWithTypeDef2a | Success | | 0.002 |
| TypeCheckTest | testTemplateTypeWithTypeDef2b | Success | | 0.002 |
| TypeCheckTest | testTemplateTypeWithTypeDef2c | Success | | 0.001 |
| TypeCheckTest | testTemplateTypeWithTypeDef2d | Success | | 0.001 |
| TypeCheckTest | testTemplatedFunctionInUnion1 | Success | | 0.002 |
| TypeCheckTest | testTemplateTypeRecursion1 | Success | | 0.002 |
| TypeCheckTest | testTemplateTypeRecursion2 | Success | | 0.001 |
| TypeCheckTest | testTemplateTypeRecursion3 | Success | | 0.002 |
| TypeCheckTest | testFunctionLiteralDefinedThisArgument | Success | | 0.002 |
| TypeCheckTest | testFunctionLiteralDefinedThisArgument2 | Success | | 0.001 |
| TypeCheckTest | testFunctionLiteralUnreadNullThisArgument | Success | | 0.001 |
| TypeCheckTest | testUnionTemplateThisType | Success | | 0.002 |
| TypeCheckTest | testActiveXObject | Success | | 0.001 |
| TypeCheckTest | testRecordType1 | Success | | 0.002 |
| TypeCheckTest | testRecordType2 | Success | | 0.001 |
| TypeCheckTest | testRecordType3 | Success | | 0.001 |
| TypeCheckTest | testRecordType4 | Success | | 0.001 |
| TypeCheckTest | testRecordType5 | Success | | 0.001 |
| TypeCheckTest | testRecordType6 | Success | | 0.002 |
| TypeCheckTest | testRecordType7 | Success | | 0.002 |
| TypeCheckTest | testRecordType8 | Success | | 0.003 |
| TypeCheckTest | testDuplicateRecordFields1 | Success | | 0.001 |
| TypeCheckTest | testDuplicateRecordFields2 | Success | | 0.001 |
| TypeCheckTest | testMultipleExtendsInterface1 | Success | | 0.002 |
| TypeCheckTest | testMultipleExtendsInterface2 | Success | | 0.002 |
| TypeCheckTest | testMultipleExtendsInterface3 | Success | | 0.002 |
| TypeCheckTest | testMultipleExtendsInterface4 | Success | | 0.002 |
| TypeCheckTest | testMultipleExtendsInterface5 | Success | | 0.002 |
| TypeCheckTest | testMultipleExtendsInterface6 | Success | | 0.003 |
| TypeCheckTest | testMultipleExtendsInterfaceAssignment | Success | | 0.002 |
| TypeCheckTest | testMultipleExtendsInterfaceParamPass | Success | | 0.002 |
| TypeCheckTest | testBadMultipleExtendsClass | Success | | 0.003 |
| TypeCheckTest | testInterfaceExtendsResolution | Success | | 0.002 |
| TypeCheckTest | testPropertyCanBeDefinedInObject | Success | | 0.002 |
| TypeCheckTest | testExtendedInterfacePropertiesCompatibility1 | Success | | 0.002 |
| TypeCheckTest | testExtendedInterfacePropertiesCompatibility2 | Success | | 0.001 |
| TypeCheckTest | testExtendedInterfacePropertiesCompatibility3 | Success | | 0.002 |
| TypeCheckTest | testExtendedInterfacePropertiesCompatibility4 | Success | | 0.002 |
| TypeCheckTest | testExtendedInterfacePropertiesCompatibility5 | Success | | 0.001 |
| TypeCheckTest | testExtendedInterfacePropertiesCompatibility6 | Success | | 0.002 |
| TypeCheckTest | testExtendedInterfacePropertiesCompatibility7 | Success | | 0.002 |
| TypeCheckTest | testExtendedInterfacePropertiesCompatibility8 | Success | | 0.001 |
| TypeCheckTest | testExtendedInterfacePropertiesCompatibility9 | Success | | 0.003 |
| TypeCheckTest | testExtendedInterfacePropertiesCompatibilityNoError | Success | | 0.002 |
| TypeCheckTest | testGenerics1 | Success | | 0.004 |
| TypeCheckTest | testFilter0 | Success | | 0.001 |
| TypeCheckTest | testFilter1 | Success | | 0.002 |
| TypeCheckTest | testFilter2 | Success | | 0.006 |
| TypeCheckTest | testFilter3 | Success | | 0.001 |
| TypeCheckTest | testBackwardsInferenceGoogArrayFilter1 | Failure | expected:<[initializing variable
found : Array<string>
required: Array<number>]> but was:<[Object literal expected as second argument]>
junit.framework.AssertionFailedError: expected:<[initializing variable found : Array<string> required: Array<number>]> but was:<[Object literal expected as second argument]> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13225) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testBackwardsInferenceGoogArrayFilter1(TypeCheckTest.java:12683)
| 0.003 |
| TypeCheckTest | testBackwardsInferenceGoogArrayFilter2 | Failure | expected:<[assignment
found : string
required: number]> but was:<[Object literal expected as second argument]>
junit.framework.AssertionFailedError: expected:<[assignment found : string required: number]> but was:<[Object literal expected as second argument]> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13225) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testBackwardsInferenceGoogArrayFilter2(TypeCheckTest.java:12697)
| 0.003 |
| TypeCheckTest | testBackwardsInferenceGoogArrayFilter3 | Failure | unexpected warning(s) : JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 11 : 13, JSC_TYPE_MISMATCH. assignment
found : number
required: string at [testcode] line 11 : 67 expected:<1> but was:<2>
junit.framework.AssertionFailedError: unexpected warning(s) : JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 11 : 13, JSC_TYPE_MISMATCH. assignment found : number required: string at [testcode] line 11 : 67 expected:<1> but was:<2> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13217) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testBackwardsInferenceGoogArrayFilter3(TypeCheckTest.java:12712)
| 0.002 |
| TypeCheckTest | testBackwardsInferenceGoogArrayFilter4 | Failure | unexpected warning(s) : JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 11 : 11, JSC_TYPE_MISMATCH. assignment
found : (null|{length: number})
required: string at [testcode] line 11 : 68 expected:<1> but was:<2>
junit.framework.AssertionFailedError: unexpected warning(s) : JSC_REFLECT_OBJECTLIT_EXPECTED. Object literal expected as second argument at [testcode] line 11 : 11, JSC_TYPE_MISMATCH. assignment found : (null|{length: number}) required: string at [testcode] line 11 : 68 expected:<1> but was:<2> at com.google.javascript.jscomp.TypeCheckTest.testClosureTypesMultipleWarnings(TypeCheckTest.java:13217) at com.google.javascript.jscomp.TypeCheckTest.testClosureTypes(TypeCheckTest.java:13179) at com.google.javascript.jscomp.TypeCheckTest.testBackwardsInferenceGoogArrayFilter4(TypeCheckTest.java:12726)
| 0.002 |
| TypeCheckTest | testCatchExpression1 | Success | | 0.002 |
| TypeCheckTest | testCatchExpression2 | Success | | 0.001 |
| TypeCheckTest | testTemplatized1 | Success | | 0.001 |
| TypeCheckTest | testTemplatized2 | Success | | 0.001 |
| TypeCheckTest | testTemplatized3 | Success | | 0.001 |
| TypeCheckTest | testTemplatized4 | Success | | 0.001 |
| TypeCheckTest | testTemplatized5 | Success | | 0.002 |
| TypeCheckTest | testTemplatized6 | Success | | 0.002 |
| TypeCheckTest | testTemplatized7 | Success | | 0.002 |
| TypeCheckTest | testTemplatized9 | Success | | 0.001 |
| TypeCheckTest | testTemplatized10 | Failure | expected a warning
junit.framework.AssertionFailedError: expected a warning at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13252) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13232) at com.google.javascript.jscomp.TypeCheckTest.testTypes(TypeCheckTest.java:13170) at com.google.javascript.jscomp.TypeCheckTest.testTemplatized10(TypeCheckTest.java:12925)
| 0.001 |
| TypeCheckTest | testTemplatized11 | Success | | 0.002 |
| TypeCheckTest | testIssue1058 | Success | | 0.002 |
| TypeCheckTest | testDeterminacyIssue | Success | | 0.002 |
| TypeCheckTest | testUnknownTypeReport | Success | | 0.002 |
| TypeCheckTest | testUnknownForIn | Success | | 0.001 |
| TypeCheckTest | testUnknownTypeDisabledByDefault | Success | | 0.001 |
| TypeCheckTest | testTemplatizedTypeSubtypes2 | Success | | 0.000 |
| TypeCheckTest | testNonexistentPropertyAccessOnStruct | Success | | 0.001 |
| TypeCheckTest | testNonexistentPropertyAccessOnStructOrObject | Success | | 0.001 |
| TypeCheckTest | testNonexistentPropertyAccessOnExternStruct | Success | | 0.001 |
| TypeCheckTest | testNonexistentPropertyAccessStructSubtype | Success | | 0.002 |
| TypeCheckTest | testNonexistentPropertyAccessStructSubtype2 | Success | | 0.002 |
| TypeCheckTest | testIssue1024 | Success | | 0.003 |
| TypeCheckTest | testBug12722936 | Success | | 0.001 |
| TypeCheckTest | testModuleReferenceNotAllowed | Success | | 0.001 |
| TypeCheckTest | testNew1 | Success | | 0.001 |
| TypeCheckTest | testNew2 | Success | | 0.001 |
| TypeCheckTest | testDeleteOperator1 | Success | | 0.002 |
| TypeCheckTest | testDeleteOperator2 | Success | | 0.002 |
| TypeCheckTest | testTypeof2 | Success | | 0.001 |
| TypeCheckTest | testTypeof3 | Success | | 0.002 |
| TypeInferenceTest | testHook | Success | | 0.001 |
| TypeInferenceTest | testObjectLit | Success | | 0.002 |
| TypeInferenceTest | testGetProp | Success | | 0.000 |
| TypeInferenceTest | testAssignment | Success | | 0.001 |
| TypeInferenceTest | testVar | Success | | 0.000 |
| TypeInferenceTest | testInnerFunction1 | Success | | 0.000 |
| TypeInferenceTest | testInnerFunction2 | Success | | 0.000 |
| TypeInferenceTest | testJoin1 | Success | | 0.000 |
| TypeInferenceTest | testJoin2 | Success | | 0.001 |
| TypeInferenceTest | testThrow | Success | | 0.000 |
| TypeInferenceTest | testGetElem | Success | | 0.000 |
| TypeInferenceTest | testAssignAdd | Success | | 0.001 |
| TypeInferenceTest | testArrayLit | Success | | 0.001 |
| TypeInferenceTest | testCall1 | Success | | 0.000 |
| TypeInferenceTest | testIf1 | Success | | 0.001 |
| TypeInferenceTest | testIf2 | Success | | 0.001 |
| TypeInferenceTest | testIf3 | Success | | 0.000 |
| TypeInferenceTest | testDo | Success | | 0.001 |
| TypeInferenceTest | testAssumption | Success | | 0.001 |
| TypeInferenceTest | testEmptyVar | Success | | 0.000 |
| TypeInferenceTest | testExprWithinCast | Success | | 0.000 |
| TypeInferenceTest | testGetElemDereference | Success | | 0.001 |
| TypeInferenceTest | testIf1a | Success | | 0.001 |
| TypeInferenceTest | testAssert1 | Success | | 0.000 |
| TypeInferenceTest | testAssert1a | Success | | 0.000 |
| TypeInferenceTest | testAssert2 | Success | | 0.001 |
| TypeInferenceTest | testAssert3 | Success | | 0.001 |
| TypeInferenceTest | testAssert4 | Success | | 0.001 |
| TypeInferenceTest | testAssert5 | Success | | 0.000 |
| TypeInferenceTest | testAssert6 | Success | | 0.000 |
| TypeInferenceTest | testAssert7 | Success | | 0.001 |
| TypeInferenceTest | testAssert8 | Success | | 0.001 |
| TypeInferenceTest | testAssert9 | Success | | 0.001 |
| TypeInferenceTest | testAssert10 | Success | | 0.000 |
| TypeInferenceTest | testAssert11 | Success | | 0.000 |
| TypeInferenceTest | testAssertNumber | Success | | 0.001 |
| TypeInferenceTest | testAssertNumber2 | Success | | 0.001 |
| TypeInferenceTest | testAssertNumber3 | Success | | 0.001 |
| TypeInferenceTest | testAssertString | Success | | 0.000 |
| TypeInferenceTest | testAssertFunction | Success | | 0.001 |
| TypeInferenceTest | testAssertObject | Success | | 0.001 |
| TypeInferenceTest | testAssertElement | Success | | 0.001 |
| TypeInferenceTest | testAssertObject2 | Success | | 0.000 |
| TypeInferenceTest | testAssertObject3 | Success | | 0.000 |
| TypeInferenceTest | testAssertObject4 | Success | | 0.001 |
| TypeInferenceTest | testAssertObject5 | Success | | 0.000 |
| TypeInferenceTest | testAssertArray | Success | | 0.000 |
| TypeInferenceTest | testAssertInstanceof1 | Success | | 0.000 |
| TypeInferenceTest | testAssertInstanceof2 | Success | | 0.001 |
| TypeInferenceTest | testAssertInstanceof3 | Success | | 0.000 |
| TypeInferenceTest | testAssertInstanceof3a | Success | | 0.000 |
| TypeInferenceTest | testAssertInstanceof4 | Success | | 0.001 |
| TypeInferenceTest | testAssertInstanceof5 | Success | | 0.001 |
| TypeInferenceTest | testAssertInstanceof6 | Success | | 0.000 |
| TypeInferenceTest | testAssertInstanceof7 | Success | | 0.000 |
| TypeInferenceTest | testAssertWithIsDefAndNotNull | Success | | 0.000 |
| TypeInferenceTest | testIsDefAndNoResolvedType | Error | Mismatch for out2a
Expected: NoResolvedType
Actual : undefined
java.lang.AssertionError: Mismatch for out2a Expected: NoResolvedType Actual : undefined at com.google.javascript.rhino.testing.Asserts.assertTypeEquals(Asserts.java:109) at com.google.javascript.jscomp.TypeInferenceTest.verify(TypeInferenceTest.java:142) at com.google.javascript.jscomp.TypeInferenceTest.verify(TypeInferenceTest.java:146) at com.google.javascript.jscomp.TypeInferenceTest.testIsDefAndNoResolvedType(TypeInferenceTest.java:575)
| 0.001 |
| TypeInferenceTest | testAssertWithNotIsNull | Success | | 0.001 |
| TypeInferenceTest | testWhile1 | Success | | 0.002 |
| TypeInferenceTest | testWhile2 | Success | | 0.003 |
| TypeInferenceTest | testFor1 | Success | | 0.001 |
| TypeInferenceTest | testFor2 | Success | | 0.001 |
| TypeInferenceTest | testPropertyInference1 | Success | | 0.001 |
| TypeInferenceTest | testPropertyInference2 | Success | | 0.003 |
| TypeInferenceTest | testPropertyInference3 | Success | | 0.001 |
| TypeInferenceTest | testAdd1 | Success | | 0.000 |
| TypeInferenceTest | testAdd2 | Success | | 0.001 |
| TypeInferenceTest | testAdd3 | Success | | 0.000 |
| TypeInferenceTest | testReturn1 | Success | | 0.001 |
| TypeInferenceTest | testReturn2 | Success | | 0.000 |
| TypeInferenceTest | testNew3 | Success | | 0.001 |
| TypeInferenceTest | testCast2 | Error | Mismatch for x
Expected: function (this:Object): boolean
Actual : ?
java.lang.AssertionError: Mismatch for x Expected: function (this:Object): boolean Actual : ? at com.google.javascript.rhino.testing.Asserts.assertTypeEquals(Asserts.java:109) at com.google.javascript.jscomp.TypeInferenceTest.verify(TypeInferenceTest.java:142) at com.google.javascript.jscomp.TypeInferenceTest.testCast2(TypeInferenceTest.java:1096)
| 0.001 |
| TypeInferenceTest | testFor3 | Success | | 0.001 |
| TypeInferenceTest | testFor4 | Success | | 0.001 |
| TypeInferenceTest | testFor5 | Success | | 0.000 |
| TypeInferenceTest | testFor6 | Success | | 0.001 |
| TypeInferenceTest | testSwitch1 | Success | | 0.001 |
| TypeInferenceTest | testSwitch2 | Success | | 0.000 |
| TypeInferenceTest | testSwitch3 | Success | | 0.001 |
| TypeInferenceTest | testSwitch4 | Success | | 0.000 |
| TypeInferenceTest | testTry1 | Success | | 0.000 |
| TypeInferenceTest | testTry2 | Success | | 0.001 |
| TypeInferenceTest | testTry3 | Success | | 0.001 |
| TypeInferenceTest | testCatch1 | Success | | 0.000 |
| TypeInferenceTest | testCatch2 | Success | | 0.000 |
| TypeInferenceTest | testUnknownType1 | Success | | 0.001 |
| TypeInferenceTest | testUnknownType2 | Success | | 0.000 |
| TypeInferenceTest | testInfiniteLoop1 | Success | | 0.000 |
| TypeInferenceTest | testInfiniteLoop2 | Success | | 0.000 |
| TypeInferenceTest | testEnumRAI1 | Success | | 0.001 |
| TypeInferenceTest | testEnumRAI2 | Success | | 0.001 |
| TypeInferenceTest | testEnumRAI3 | Success | | 0.000 |
| TypeInferenceTest | testEnumRAI4 | Success | | 0.000 |
| TypeInferenceTest | testShortCircuitingAnd | Success | | 0.001 |
| TypeInferenceTest | testShortCircuitingAnd2 | Success | | 0.000 |
| TypeInferenceTest | testShortCircuitingOr | Success | | 0.000 |
| TypeInferenceTest | testShortCircuitingOr2 | Success | | 0.001 |
| TypeInferenceTest | testAssignInCondition | Success | | 0.001 |
| TypeInferenceTest | testInstanceOf1 | Success | | 0.001 |
| TypeInferenceTest | testInstanceOf5 | Success | | 0.000 |
| TypeInferenceTest | testInstanceOf6 | Success | | 0.000 |
| TypeInferenceTest | testFlattening | Success | | 0.010 |
| TypeInferenceTest | testUnary | Success | | 0.001 |
| TypeInferenceTest | testComparison | Success | | 0.000 |
| TypeInferenceTest | testThrownExpression | Success | | 0.001 |
| TypeInferenceTest | testCast1 | Success | | 0.000 |
| TypeInferenceTest | testBackwardsInferenceCall | Success | | 0.001 |
| TypeInferenceTest | testBackwardsInferenceNew | Success | | 0.001 |
| TypeInferenceTest | testNoThisInference | Success | | 0.000 |
| TypeInferenceTest | testRecordInference | Success | | 0.001 |
| TypeInferenceTest | testLotsOfBranchesGettingMerged | Success | | 0.005 |
| TypeInferenceTest | testIssue785 | Success | | 0.000 |
| TypeInferenceTest | testTemplateForTypeTransformationTests | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationTypePredicate | Success | | 0.006 |
| TypeInferenceTest | testTypeTransformationConditional | Success | | 0.004 |
| TypeInferenceTest | testTypeTransformationNoneType | Success | | 0.000 |
| TypeInferenceTest | testTypeTransformationUnionType | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationMapunion | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationObjectUseCase | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationObjectUseCase2 | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationObjectUseCase3 | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationTypeOfVarWithInstanceOfConstructor | Success | | 0.000 |
| TypeInferenceTest | testTypeTransformationTypeOfVarWithConstructor | Success | | 0.000 |
| TypeInferenceTest | testTypeTransformationTypeOfVarWithTypedef | Success | | 0.000 |
| TypeInferenceTest | testTypeTransformationWithTypeFromConstructor | Success | | 0.000 |
| TypeInferenceTest | testTypeTransformationWithTypeFromTypedef | Success | | 0.000 |
| TypeInferenceTest | testTypeTransformationWithTypeFromNamespace | Success | | 0.000 |
| TypeInferenceTest | testTypeTransformationWithNativeTypeExpressionFunction | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationWithNativeTypeExpressionFunctionReturn | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationWithNativeTypeExpressionFunctionThis | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationWithNativeTypeExpressionFunctionVarargs | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationWithNativeTypeExpressionFunctionOptional | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationRecordFromObject | Success | | 0.001 |
| TypeInferenceTest | testTypeTransformationRecordFromObjectNested | Success | | 0.002 |
| TypeInferenceTest | testTypeTransformationRecordFromObjectWithTemplatizedType | Success | | 0.001 |
| TypeInferenceTest | testAssertTypeofProp | Success | | 0.001 |
| TypeInferenceTest | testNew1 | Success | | 0.001 |
| TypeInferenceTest | testNew2 | Success | | 0.001 |
| TypeInferenceTest | testInstanceOf2 | Success | | 0.001 |
| TypeInferenceTest | testInstanceOf3 | Success | | 0.000 |
| TypeInferenceTest | testInstanceOf4 | Success | | 0.000 |
| TypeMatchingStrategyTest | testMatch_default | Success | | 0.091 |
| TypeMatchingStrategyTest | testMatch_respectNullability | Success | | 0.065 |
| TypeMatchingStrategyTest | testMatch_exact | Success | | 0.056 |
| TypeTransformationTest | testTransformationWithRepeatedTypePredicate | Success | | 0.002 |
| TypeTransformationTest | testTransformationWithUndefinedTypeVar | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueEqtypeConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseEqtypeConditional | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithTrueSubtypeConditional | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithFalseSubtypeConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueStreqConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueStreqConditional2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueStreqConditional3 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseStreqConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithValidBasicTypePredicate | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithBasicTypePredicateWithInvalidTypename | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithSingleTypeVar | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithMultipleTypeVars | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithValidUnionTypeOnlyVars | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithValidUnionTypeOnlyTypePredicates | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithValidUnionTypeMixed | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithUnknownParameter | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithUnknownParameter2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedUnionInFirstParameter | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedUnionInSecondParameter | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseStreqConditional2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseStreqConditional3 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInvalidEqConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInvalidStreqConditional | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithNestedExpressionInBooleanFirstParam | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithNestedExpressionInBooleanSecondParam | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithNestedExpressionInIfBranch | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedExpressionInElseBranch | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithMapunionMappingEverythingToString | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithMapunionIdentity | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithMapunionWithUnionEvaluatedToANonUnion | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithMapunionFilterWithOnlyString | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithMapunionOnSingletonStringToNumber | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedUnionInMapunionFilterString | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedMapunionInMapFunctionBody | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithObjectUseCase | Success | | 0.001 |
| TypeTransformationTest | testTransformatioWithNoneType | Success | | 0.001 |
| TypeTransformationTest | testTransformatioWithNoneTypeInConditional | Success | | 0.101 |
| TypeTransformationTest | testTransformatioWithNoneTypeInMapunionFilterString | Success | | 0.001 |
| TypeTransformationTest | testTransformatioWithAllType | Success | | 0.001 |
| TypeTransformationTest | testTransformatioWithAllTypeInConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformatioWithAllTypeMixUnion | Success | | 0.001 |
| TypeTransformationTest | testTransformatioWithUnknownType | Success | | 0.001 |
| TypeTransformationTest | testTransformatioWithUnknownTypeInConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformatioWithUnknownTypeInMapunionStringToUnknown | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTemplatizedType | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithTemplatizedType2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTemplatizedType3 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTemplatizedTypeInvalidBaseType | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTemplatizedTypeInvalidBaseType2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithRawTypeOf | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithRawTypeOf2 | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithNestedRawTypeOf | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInvalidRawTypeOf | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTemplateTypeOf | Success | | 0.003 |
| TypeTransformationTest | testTransformationWithTemplateTypeOf2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedTemplateTypeOf | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInvalidTypeTemplateTypeOf | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInvalidIndexTemplateTypeOf | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithRecordType | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithRecordType2 | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithRecordTypeMultipleProperties | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedRecordType | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedRecordType2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithEmptyRecordType | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithMergeRecord | Success | | 0.002 |
| TypeTransformationTest | testTransformationWithMergeDuplicatedRecords | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithMergeRecordTypeWithEmpty | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInvalidRecordType | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInvalidMergeRecordType | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTTLTypeTransformationInFirstParamMapunion | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInvalidNestedMapunion | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTTLRecordWithReference | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTTLRecordWithInvalidReference | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithMaprecordMappingEverythingToString | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithMaprecordIdentity | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithMaprecordDeleteEverything | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithInvalidMaprecord | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithMaprecordFilterWithOnlyString | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInvalidMaprecordFirstParam | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithObjectInMaprecord | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithUnionInMaprecord | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithUnionOfRecordsInMaprecord | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedRecordInMaprecordFilterOneLevelString | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedRecordInMaprecordFilterTwoLevelsString | Success | | 0.002 |
| TypeTransformationTest | testTransformationWithNestedIdentityOneLevel | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedIdentityOneLevel2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedIdentityTwoLevels | Success | | 0.003 |
| TypeTransformationTest | testTransformationWithNestedIdentityTwoLevels2 | Success | | 0.002 |
| TypeTransformationTest | testTransformationWithNestedIdentityThreeLevels | Success | | 0.003 |
| TypeTransformationTest | testTransformationWithNestedIdentityThreeLevels2 | Success | | 0.002 |
| TypeTransformationTest | testTransformationWithNestedRecordDeleteLevelTwoAndThree | Success | | 0.002 |
| TypeTransformationTest | testTransformationWithNestedRecordDeleteLevelTwoAndThree2 | Success | | 0.002 |
| TypeTransformationTest | testTransformationWithNestedRecordCollapsePropertiesToRecord | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedRecordCollapsePropertiesToType | Success | | 0.002 |
| TypeTransformationTest | testTransformationWithNestedRecordCollapsePropertiesJoinRecords | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithNestedRecordCollapsePropertiesJoinRecords2 | Success | | 0.002 |
| TypeTransformationTest | testTransformationWithAsynchUseCase | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInvalidNestedMaprecord | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithMaprecordAndStringEquivalence | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTypeOfVar | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithUnknownTypeOfVar | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueIsConstructorConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseIsConstructorConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueIsTemplatizedConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseIsTemplatizedConditional | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithTrueIsRecordConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseIsRecordConditional | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithTrueIsDefinedConditional | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithFalseIsDefinedConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueIsUnknownConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueIsUnknownConditional2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseIsUnknownConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueAndConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseAndConditional | Success | | 0.000 |
| TypeTransformationTest | testTransformationWithFalseAndConditional2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseAndConditional3 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueOrConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueOrConditional2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueOrConditional3 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseOrConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTrueNotConditional3 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithFalseNotConditional | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInstanceOf | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithInvalidInstanceOf | Success | | 0.003 |
| TypeTransformationTest | testTransformationWithInvalidInstanceOf2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationWithTypeExpr | Success | | 0.001 |
| TypeTransformationTest | testParserWithTTLNativeTypeExprUnion | Success | | 0.001 |
| TypeTransformationTest | testParserWithTTLNativeTypeExprRecord | Success | | 0.001 |
| TypeTransformationTest | testParserWithTTLNativeTypeExprNullable | Success | | 0.002 |
| TypeTransformationTest | testParserWithTTLNativeTypeExprNonNullable | Success | | 0.001 |
| TypeTransformationTest | testTransformationPrintType | Success | | 0.001 |
| TypeTransformationTest | testTransformationPrintType2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationPropType | Success | | 0.002 |
| TypeTransformationTest | testTransformationPropType2 | Success | | 0.001 |
| TypeTransformationTest | testTransformationPropTypeNotFound | Success | | 0.001 |
| TypeTransformationTest | testTransformationPropTypeInvalid | Success | | 0.001 |
| TypeTransformationTest | testTransformationInstanceObjectToRecord | Success | | 0.001 |
| TypeTransformationTest | testTransformationInstanceObjectToRecord2 | Success | | 0.000 |
| TypeTransformationTest | testTransformationInstanceObjectToRecordInvalid | Success | | 0.001 |
| TypeValidatorTest | testFunctionMismatch | Success | | 0.003 |
| TypeValidatorTest | testFunctionMismatch2 | Success | | 0.002 |
| TypeValidatorTest | testSubclass | Success | | 0.001 |
| TypeValidatorTest | testFunctionMismatchLongTypes | Success | | 0.002 |
| TypeValidatorTest | testFunctionMismatchTypedef | Success | | 0.002 |
| TypeValidatorTest | testNullUndefined | Success | | 0.002 |
| TypeValidatorTest | testBasicMismatch | Success | | 0.001 |
| TypedScopeCreatorTest | testStubProperty | Success | | 0.002 |
| TypedScopeCreatorTest | testConstructorProperty | Success | | 0.001 |
| TypedScopeCreatorTest | testPrototypePropertyMethodWithoutAnnotation | Success | | 0.001 |
| TypedScopeCreatorTest | testEnumProperty | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredProperty1 | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredProperty1a | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredProperty2 | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredProperty2b | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredProperty2c | Success | | 0.000 |
| TypedScopeCreatorTest | testInferredProperty3 | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredProperty4 | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredProperty5 | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredProperty6 | Success | | 0.001 |
| TypedScopeCreatorTest | testPrototypeInit | Success | | 0.001 |
| TypedScopeCreatorTest | testBogusPrototypeInit | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredPrototypeProperty1 | Success | | 0.000 |
| TypedScopeCreatorTest | testInferredPrototypeProperty2 | Success | | 0.001 |
| TypedScopeCreatorTest | testEnumElement | Success | | 0.001 |
| TypedScopeCreatorTest | testNamespacedEnum | Success | | 0.001 |
| TypedScopeCreatorTest | testEnumAlias | Success | | 0.001 |
| TypedScopeCreatorTest | testNamespacesEnumAlias | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedFunctionStub | Success | | 0.000 |
| TypedScopeCreatorTest | testCollectedFunctionStubLocal | Success | | 0.001 |
| TypedScopeCreatorTest | testNamespacedFunctionStub | Success | | 0.001 |
| TypedScopeCreatorTest | testNamespacedFunctionStubLocal | Success | | 0.000 |
| TypedScopeCreatorTest | testCollectedCtorProperty1 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty2 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty3 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty4 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty5 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty6 | Success | | 0.000 |
| TypedScopeCreatorTest | testCollectedCtorProperty7 | Success | | 0.000 |
| TypedScopeCreatorTest | testCollectedCtorProperty8 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty9 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty10 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty11 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty12 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty13 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty14 | Success | | 0.001 |
| TypedScopeCreatorTest | testCollectedCtorProperty15 | Success | | 0.001 |
| TypedScopeCreatorTest | testPropertyOnUnknownSuperClass1 | Success | | 0.001 |
| TypedScopeCreatorTest | testPropertyOnUnknownSuperClass2 | Success | | 0.001 |
| TypedScopeCreatorTest | testSubBeforeSuper1 | Success | | 0.001 |
| TypedScopeCreatorTest | testSubBeforeSuper2 | Success | | 0.001 |
| TypedScopeCreatorTest | testMethodBeforeFunction1 | Success | | 0.002 |
| TypedScopeCreatorTest | testMethodBeforeFunction2 | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredVar | Failure | expected:<[(boolean|number|string)]> but was:<[number]>
junit.framework.ComparisonFailure: expected:<[(boolean|number|string)]> but was:<[number]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testInferredVar(TypedScopeCreatorTest.java:727)
| 0.001 |
| TypedScopeCreatorTest | testDeclaredVar | Success | | 0.001 |
| TypedScopeCreatorTest | testPropertiesOnInterface | Success | | 0.001 |
| TypedScopeCreatorTest | testPropertiesOnInterface2 | Success | | 0.001 |
| TypedScopeCreatorTest | testStubsInExterns | Success | | 0.000 |
| TypedScopeCreatorTest | testStubsInExterns2 | Success | | 0.000 |
| TypedScopeCreatorTest | testStubsInExterns3 | Success | | 0.001 |
| TypedScopeCreatorTest | testStubsInExterns4 | Success | | 0.001 |
| TypedScopeCreatorTest | testPropertyInExterns1 | Success | | 0.001 |
| TypedScopeCreatorTest | testPropertyInExterns2 | Success | | 0.001 |
| TypedScopeCreatorTest | testPropertyInExterns3 | Success | | 0.000 |
| TypedScopeCreatorTest | testTypedStubsInExterns | Success | | 0.001 |
| TypedScopeCreatorTest | testTypesInExterns | Success | | 0.002 |
| TypedScopeCreatorTest | testPropertyDeclarationOnInstanceType | Success | | 0.001 |
| TypedScopeCreatorTest | testPropertyDeclarationOnRecordType | Success | | 0.001 |
| TypedScopeCreatorTest | testBadObjectLiteralCast1 | Success | | 0.001 |
| TypedScopeCreatorTest | testBadObjectLiteralCast2 | Success | | 0.001 |
| TypedScopeCreatorTest | testConstructorNode | Success | | 0.000 |
| TypedScopeCreatorTest | testForLoopIntegration | Failure | N/A
junit.framework.AssertionFailedError at com.google.javascript.jscomp.TypedScopeCreatorTest.testForLoopIntegration(TypedScopeCreatorTest.java:1030)
| 0.000 |
| TypedScopeCreatorTest | testNamespacedConstructorAlias | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType2a | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType2b | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType4a | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType4b | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType7b | Success | | 0.002 |
| TypedScopeCreatorTest | testTemplateType7c | Success | | 0.001 |
| TypedScopeCreatorTest | testClassTemplateType1 | Failure | expected:<[string]> but was:<[?]>
junit.framework.ComparisonFailure: expected:<[string]> but was:<[?]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testClassTemplateType1(TypedScopeCreatorTest.java:1465)
| 0.001 |
| TypedScopeCreatorTest | testClassTemplateType2 | Failure | expected:<[string]> but was:<[?]>
junit.framework.ComparisonFailure: expected:<[string]> but was:<[?]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testClassTemplateType2(TypedScopeCreatorTest.java:1484)
| 0.001 |
| TypedScopeCreatorTest | testClassTemplateType3 | Failure | expected:<[string]> but was:<[?]>
junit.framework.ComparisonFailure: expected:<[string]> but was:<[?]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testClassTemplateType3(TypedScopeCreatorTest.java:1501)
| 0.002 |
| TypedScopeCreatorTest | testClassTemplateType4 | Failure | expected:<[string]> but was:<[?]>
junit.framework.ComparisonFailure: expected:<[string]> but was:<[?]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testClassTemplateType4(TypedScopeCreatorTest.java:1519)
| 0.001 |
| TypedScopeCreatorTest | testClassTemplateType5 | Failure | expected:<[string]> but was:<[?]>
junit.framework.ComparisonFailure: expected:<[string]> but was:<[?]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testClassTemplateType5(TypedScopeCreatorTest.java:1538)
| 0.001 |
| TypedScopeCreatorTest | testClassTemplateType6 | Failure | expected:<[string]> but was:<[?]>
junit.framework.ComparisonFailure: expected:<[string]> but was:<[?]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testClassTemplateType6(TypedScopeCreatorTest.java:1557)
| 0.002 |
| TypedScopeCreatorTest | testClassTemplateType7 | Success | | 0.004 |
| TypedScopeCreatorTest | testClassTemplateType8 | Success | | 0.001 |
| TypedScopeCreatorTest | testClassTemplateInheritance1 | Failure | expected:<[number]> but was:<[?]>
junit.framework.ComparisonFailure: expected:<[number]> but was:<[?]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testClassTemplateInheritance1(TypedScopeCreatorTest.java:1615)
| 0.002 |
| TypedScopeCreatorTest | testClassTemplateInheritance2 | Failure | expected:<[string]> but was:<[?]>
junit.framework.ComparisonFailure: expected:<[string]> but was:<[?]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testClassTemplateInheritance2(TypedScopeCreatorTest.java:1644)
| 0.002 |
| TypedScopeCreatorTest | testClassTemplateInheritance3 | Success | | 0.002 |
| TypedScopeCreatorTest | testClassTemplateInheritance4 | Failure | expected:<[string]> but was:<[?]>
junit.framework.ComparisonFailure: expected:<[string]> but was:<[?]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testClassTemplateInheritance4(TypedScopeCreatorTest.java:1704)
| 0.001 |
| TypedScopeCreatorTest | testClassTemplateInheritance5 | Failure | expected:<[string]> but was:<[?]>
junit.framework.ComparisonFailure: expected:<[string]> but was:<[?]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testClassTemplateInheritance5(TypedScopeCreatorTest.java:1735)
| 0.001 |
| TypedScopeCreatorTest | testClosureParameterTypesWithoutJSDoc | Success | | 0.001 |
| TypedScopeCreatorTest | testClosureParameterTypesWithJSDoc | Success | | 0.000 |
| TypedScopeCreatorTest | testDuplicateExternProperty1 | Success | | 0.000 |
| TypedScopeCreatorTest | testDuplicateExternProperty2 | Success | | 0.001 |
| TypedScopeCreatorTest | testAbstractMethod2 | Failure | expected:<[function (number): ?]> but was:<[Function]>
junit.framework.ComparisonFailure: expected:<[function (number): ?]> but was:<[Function]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testAbstractMethod2(TypedScopeCreatorTest.java:1805)
| 0.001 |
| TypedScopeCreatorTest | testAbstractMethod3 | Failure | expected:<[function (number): ?]> but was:<[Function]>
junit.framework.ComparisonFailure: expected:<[function (number): ?]> but was:<[Function]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testAbstractMethod3(TypedScopeCreatorTest.java:1814)
| 0.001 |
| TypedScopeCreatorTest | testAbstractMethod4 | Success | | 0.001 |
| TypedScopeCreatorTest | testReturnTypeInference1 | Success | | 0.000 |
| TypedScopeCreatorTest | testReturnTypeInference2 | Success | | 0.001 |
| TypedScopeCreatorTest | testReturnTypeInference3 | Success | | 0.000 |
| TypedScopeCreatorTest | testReturnTypeInference4 | Success | | 0.000 |
| TypedScopeCreatorTest | testReturnTypeInference5 | Success | | 0.001 |
| TypedScopeCreatorTest | testLiteralTypesInferred | Success | | 0.006 |
| TypedScopeCreatorTest | testGlobalQualifiedNameInLocalScope | Success | | 0.002 |
| TypedScopeCreatorTest | testDeclaredObjectLitProperty1 | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredObjectLitProperty2 | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredObjectLitProperty3 | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredObjectLitProperty4 | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredObjectLitProperty5 | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredObjectLitProperty6 | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredObjectLitProperty1 | Success | | 0.001 |
| TypedScopeCreatorTest | testInferredObjectLitProperty2 | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredConstType1 | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredConstType2 | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredConstType3 | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredConstType4 | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredConstType5a | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredConstType5 | Success | | 0.000 |
| TypedScopeCreatorTest | testDeclaredConstType6 | Success | | 0.001 |
| TypedScopeCreatorTest | testBadCtorInit1 | Success | | 0.000 |
| TypedScopeCreatorTest | testBadCtorInit2 | Success | | 0.000 |
| TypedScopeCreatorTest | testBadIfaceInit1 | Success | | 0.001 |
| TypedScopeCreatorTest | testBadIfaceInit2 | Success | | 0.001 |
| TypedScopeCreatorTest | testFunctionInHook | Success | | 0.000 |
| TypedScopeCreatorTest | testFunctionInAnd | Success | | 0.001 |
| TypedScopeCreatorTest | testFunctionInOr | Success | | 0.001 |
| TypedScopeCreatorTest | testFunctionInComma | Success | | 0.001 |
| TypedScopeCreatorTest | testDeclaredCatchExpression1 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.TypedScopeCreatorTest.testDeclaredCatchExpression1(TypedScopeCreatorTest.java:2115)
| 0.000 |
| TypedScopeCreatorTest | testDeclaredCatchExpression2 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [jsdoc_info: JSDocInfo] [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [jsdoc_info: JSDocInfo] [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.TypedScopeCreatorTest.testDeclaredCatchExpression2(TypedScopeCreatorTest.java:2123)
| 0.000 |
| TypedScopeCreatorTest | testObjectLiteralCast | Success | | 0.001 |
| TypedScopeCreatorTest | testGlobalThis1 | Success | | 0.001 |
| TypedScopeCreatorTest | testGlobalThis2 | Success | | 0.001 |
| TypedScopeCreatorTest | testEnum | Success | | 0.001 |
| TypedScopeCreatorTest | testAbstractMethod | Success | | 0.001 |
| TypedScopeCreatorTest | testConstructorAlias | Success | | 0.001 |
| TypedScopeCreatorTest | testAddMethodsPrototypeTwoWays | Success | | 0.000 |
| TypedScopeCreatorTest | testTemplateType1 | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType2 | Success | | 0.000 |
| TypedScopeCreatorTest | testTemplateType3 | Success | | 0.000 |
| TypedScopeCreatorTest | testTemplateType4 | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType5 | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType6 | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType7 | Success | | 0.002 |
| TypedScopeCreatorTest | testTemplateType9 | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType10 | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType11 | Success | | 0.001 |
| TypedScopeCreatorTest | testTemplateType12 | Failure | expected:<[(Array<T>|{length: number})]> but was:<[{length: number}]>
junit.framework.ComparisonFailure: expected:<[(Array<T>|{length: number})]> but was:<[{length: number}]> at com.google.javascript.jscomp.TypedScopeCreatorTest.testTemplateType12(TypedScopeCreatorTest.java:1432)
| 0.001 |
| TypedScopeCreatorTest | testActiveXObject | Success | | 0.000 |
| UnreachableCodeEliminationTest | testSwitchCase | Success | | 0.002 |
| UnreachableCodeEliminationTest | testTryCatchFinally | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME foo 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
CALL 1 [free_call: 1] [source_file: testcode]
NAME bar 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME foo 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] CALL 1 [free_call: 1] [source_file: testcode] NAME bar 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.UnreachableCodeEliminationTest.testTryCatchFinally(UnreachableCodeEliminationTest.java:150)
| 0.001 |
| UnreachableCodeEliminationTest | testRemoveUselessNameStatements | Success | | 0.002 |
| UnreachableCodeEliminationTest | testRemoveUselessStrings | Success | | 0.001 |
| UnreachableCodeEliminationTest | testNoRemoveUseStrict | Success | | 0.001 |
| UnreachableCodeEliminationTest | testRemoveUnreachableCode | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 3.0 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
ADD 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 5.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME e 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 4.0 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
NUMBER 5.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 5.0 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 3.0 1 [source_file: testcode] RETURN 1 [source_file: testcode] ADD 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 5.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME e 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 4.0 1 [source_file: testcode] RETURN 1 [source_file: testcode] NUMBER 5.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 5.0 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.UnreachableCodeEliminationTest.testRemoveUnreachableCode(UnreachableCodeEliminationTest.java:71)
| 0.004 |
| UnreachableCodeEliminationTest | testDontRemoveBreakInTryFinally | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NUMBER 9.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME b 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NUMBER 9.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME b 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateLabel(AstValidator.java:517) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:98) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.UnreachableCodeEliminationTest.testDontRemoveBreakInTryFinally(UnreachableCodeEliminationTest.java:418)
| 0.001 |
| UnreachableCodeEliminationTest | testNoRemoveUselessNameStatements | Success | | 0.001 |
| UnreachableCodeEliminationTest | testRemoveDo | Success | | 0.001 |
| UnreachableCodeEliminationTest | testRemoveUselessLiteralValueStatements | Success | | 0.004 |
| UnreachableCodeEliminationTest | testConditionalDeadCode | Success | | 0.001 |
| UnreachableCodeEliminationTest | testRemovalRequiresRedeclaration | Success | | 0.001 |
| UnreachableCodeEliminationTest | testAssignPropertyOnCreatedObject | Success | | 0.005 |
| UnreachableCodeEliminationTest | testUselessUnconditionalReturn | Success | | 0.005 |
| UnreachableCodeEliminationTest | testUselessUnconditionalContinue | Success | | 0.004 |
| UnreachableCodeEliminationTest | testUselessUnconditionalBreak | Success | | 0.007 |
| UnreachableCodeEliminationTest | testIteratedRemoval | Error | Missing catch or finally for try statement.. Reference node:
TRY 3 [source_file: testcode]
BLOCK 3 [source_file: testcode]
BREAK 3 [source_file: testcode]
LABEL_NAME out 3 [source_file: testcode]
BLOCK 3 [source_file: testcode]
CATCH 3 [source_file: testcode]
NAME e 3 [source_file: testcode]
BLOCK 3 [source_file: testcode]
BREAK 3 [source_file: testcode]
LABEL_NAME out 3 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 3 [source_file: testcode] BLOCK 3 [source_file: testcode] BREAK 3 [source_file: testcode] LABEL_NAME out 3 [source_file: testcode] BLOCK 3 [source_file: testcode] CATCH 3 [source_file: testcode] NAME e 3 [source_file: testcode] BLOCK 3 [source_file: testcode] BREAK 3 [source_file: testcode] LABEL_NAME out 3 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:101) at com.google.javascript.jscomp.AstValidator.validateLabel(AstValidator.java:517) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:98) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.UnreachableCodeEliminationTest.testIteratedRemoval(UnreachableCodeEliminationTest.java:257)
| 0.004 |
| UnreachableCodeEliminationTest | testIssue311 | Success | | 0.001 |
| UnreachableCodeEliminationTest | testIssue4177428a | Error | Missing catch or finally for try statement.. Reference node:
TRY 5 [source_file: testcode]
BLOCK 5 [source_file: testcode]
EXPR_RESULT 6 [source_file: testcode]
ASSIGN 6 [source_file: testcode]
NAME proto 6 [source_file: testcode]
NEW 6 [source_file: testcode]
NAME Proto 6 [source_file: testcode]
BLOCK 7 [source_file: testcode]
BLOCK 7 [source_file: testcode]
EXPR_RESULT 8 [source_file: testcode]
ASSIGN 8 [source_file: testcode]
NAME action 8 [source_file: testcode]
NAME proto 8 [source_file: testcode]
BREAK 9 [source_file: testcode]
LABEL_NAME a 9 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 5 [source_file: testcode] BLOCK 5 [source_file: testcode] EXPR_RESULT 6 [source_file: testcode] ASSIGN 6 [source_file: testcode] NAME proto 6 [source_file: testcode] NEW 6 [source_file: testcode] NAME Proto 6 [source_file: testcode] BLOCK 7 [source_file: testcode] BLOCK 7 [source_file: testcode] EXPR_RESULT 8 [source_file: testcode] ASSIGN 8 [source_file: testcode] NAME action 8 [source_file: testcode] NAME proto 8 [source_file: testcode] BREAK 9 [source_file: testcode] LABEL_NAME a 9 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:101) at com.google.javascript.jscomp.AstValidator.validateLabel(AstValidator.java:517) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:98) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.UnreachableCodeEliminationTest.testIssue4177428a(UnreachableCodeEliminationTest.java:289)
| 0.001 |
| UnreachableCodeEliminationTest | testIssue4177428b | Error | Missing catch or finally for try statement.. Reference node:
TRY 6 [source_file: testcode]
BLOCK 6 [source_file: testcode]
EXPR_RESULT 7 [source_file: testcode]
ASSIGN 7 [source_file: testcode]
NAME proto 7 [source_file: testcode]
NEW 7 [source_file: testcode]
NAME Proto 7 [source_file: testcode]
BLOCK 8 [source_file: testcode]
BLOCK 8 [source_file: testcode]
EXPR_RESULT 9 [source_file: testcode]
ASSIGN 9 [source_file: testcode]
NAME action 9 [source_file: testcode]
NAME proto 9 [source_file: testcode]
BREAK 10 [source_file: testcode]
LABEL_NAME a 10 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 6 [source_file: testcode] BLOCK 6 [source_file: testcode] EXPR_RESULT 7 [source_file: testcode] ASSIGN 7 [source_file: testcode] NAME proto 7 [source_file: testcode] NEW 7 [source_file: testcode] NAME Proto 7 [source_file: testcode] BLOCK 8 [source_file: testcode] BLOCK 8 [source_file: testcode] EXPR_RESULT 9 [source_file: testcode] ASSIGN 9 [source_file: testcode] NAME action 9 [source_file: testcode] NAME proto 9 [source_file: testcode] BREAK 10 [source_file: testcode] LABEL_NAME a 10 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:868) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:101) at com.google.javascript.jscomp.AstValidator.validateLabel(AstValidator.java:517) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:98) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.UnreachableCodeEliminationTest.testIssue4177428b(UnreachableCodeEliminationTest.java:306)
| 0.001 |
| UnreachableCodeEliminationTest | testIssue4177428c | Error | Missing catch or finally for try statement.. Reference node:
TRY 7 [source_file: testcode]
BLOCK 7 [source_file: testcode]
EXPR_RESULT 8 [source_file: testcode]
ASSIGN 8 [source_file: testcode]
NAME proto 8 [source_file: testcode]
NEW 8 [source_file: testcode]
NAME Proto 8 [source_file: testcode]
BLOCK 9 [source_file: testcode]
BLOCK 9 [source_file: testcode]
EXPR_RESULT 10 [source_file: testcode]
ASSIGN 10 [source_file: testcode]
NAME action 10 [source_file: testcode]
NAME proto 10 [source_file: testcode]
BREAK 11 [source_file: testcode]
LABEL_NAME a 11 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 7 [source_file: testcode] BLOCK 7 [source_file: testcode] EXPR_RESULT 8 [source_file: testcode] ASSIGN 8 [source_file: testcode] NAME proto 8 [source_file: testcode] NEW 8 [source_file: testcode] NAME Proto 8 [source_file: testcode] BLOCK 9 [source_file: testcode] BLOCK 9 [source_file: testcode] EXPR_RESULT 10 [source_file: testcode] ASSIGN 10 [source_file: testcode] NAME action 10 [source_file: testcode] NAME proto 10 [source_file: testcode] BREAK 11 [source_file: testcode] LABEL_NAME a 11 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:883) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:101) at com.google.javascript.jscomp.AstValidator.validateLabel(AstValidator.java:517) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:98) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.UnreachableCodeEliminationTest.testIssue4177428c(UnreachableCodeEliminationTest.java:326)
| 0.001 |
| UnreachableCodeEliminationTest | testIssue4177428_continue | Error | Missing catch or finally for try statement.. Reference node:
TRY 5 [source_file: testcode]
BLOCK 5 [source_file: testcode]
EXPR_RESULT 6 [source_file: testcode]
ASSIGN 6 [source_file: testcode]
NAME proto 6 [source_file: testcode]
NEW 6 [source_file: testcode]
NAME Proto 6 [source_file: testcode]
BLOCK 7 [source_file: testcode]
BLOCK 7 [source_file: testcode]
EXPR_RESULT 8 [source_file: testcode]
ASSIGN 8 [source_file: testcode]
NAME action 8 [source_file: testcode]
NAME proto 8 [source_file: testcode]
CONTINUE 9 [source_file: testcode]
LABEL_NAME a 9 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 5 [source_file: testcode] BLOCK 5 [source_file: testcode] EXPR_RESULT 6 [source_file: testcode] ASSIGN 6 [source_file: testcode] NAME proto 6 [source_file: testcode] NEW 6 [source_file: testcode] NAME Proto 6 [source_file: testcode] BLOCK 7 [source_file: testcode] BLOCK 7 [source_file: testcode] EXPR_RESULT 8 [source_file: testcode] ASSIGN 8 [source_file: testcode] NAME action 8 [source_file: testcode] NAME proto 8 [source_file: testcode] CONTINUE 9 [source_file: testcode] LABEL_NAME a 9 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateDo(AstValidator.java:815) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:119) at com.google.javascript.jscomp.AstValidator.validateLabel(AstValidator.java:517) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:98) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.UnreachableCodeEliminationTest.testIssue4177428_continue(UnreachableCodeEliminationTest.java:346)
| 0.000 |
| UnreachableCodeEliminationTest | testIssue4177428_return | Error | Missing catch or finally for try statement.. Reference node:
TRY 5 [source_file: testcode]
BLOCK 5 [source_file: testcode]
EXPR_RESULT 6 [source_file: testcode]
ASSIGN 6 [source_file: testcode]
NAME proto 6 [source_file: testcode]
NEW 6 [source_file: testcode]
NAME Proto 6 [source_file: testcode]
BLOCK 7 [source_file: testcode]
BLOCK 7 [source_file: testcode]
EXPR_RESULT 8 [source_file: testcode]
ASSIGN 8 [source_file: testcode]
NAME action 8 [source_file: testcode]
NAME proto 8 [source_file: testcode]
RETURN 9 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 5 [source_file: testcode] BLOCK 5 [source_file: testcode] EXPR_RESULT 6 [source_file: testcode] ASSIGN 6 [source_file: testcode] NAME proto 6 [source_file: testcode] NEW 6 [source_file: testcode] NAME Proto 6 [source_file: testcode] BLOCK 7 [source_file: testcode] BLOCK 7 [source_file: testcode] EXPR_RESULT 8 [source_file: testcode] ASSIGN 8 [source_file: testcode] NAME action 8 [source_file: testcode] NAME proto 8 [source_file: testcode] RETURN 9 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:101) at com.google.javascript.jscomp.AstValidator.validateLabel(AstValidator.java:517) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:98) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:588) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:290) at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:958) at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:237) at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:832) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:133) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.UnreachableCodeEliminationTest.testIssue4177428_return(UnreachableCodeEliminationTest.java:363)
| 0.000 |
| UnreachableCodeEliminationTest | testIssue4177428_multifinally | Error | Missing catch or finally for try statement.. Reference node:
TRY 3 [source_file: testcode]
BLOCK 3 [source_file: testcode]
BLOCK 4 [source_file: testcode]
BLOCK 4 [source_file: testcode]
BREAK 5 [source_file: testcode]
LABEL_NAME a 5 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 3 [source_file: testcode] BLOCK 3 [source_file: testcode] BLOCK 4 [source_file: testcode] BLOCK 4 [source_file: testcode] BREAK 5 [source_file: testcode] LABEL_NAME a 5 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:868) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:101) at com.google.javascript.jscomp.AstValidator.validateLabel(AstValidator.java:517) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:98) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.UnreachableCodeEliminationTest.testIssue4177428_multifinally(UnreachableCodeEliminationTest.java:393)
| 0.000 |
| UnreachableCodeEliminationTest | testIssue5215541_deadVarDeclar | Success | | 0.003 |
| UnreachableCodeEliminationTest | testForInLoop | Success | | 0.000 |
| UnreachableCodeEliminationTest | testDontRemoveBreakInTryFinallySwitch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
THROW 1 [source_file: testcode]
NUMBER 9.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
SWITCH 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
CASE 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [synthetic: 1] [source_file: testcode]
BREAK 1 [source_file: testcode]
LABEL_NAME b 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] THROW 1 [source_file: testcode] NUMBER 9.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] SWITCH 1 [source_file: testcode] NAME x 1 [source_file: testcode] CASE 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [synthetic: 1] [source_file: testcode] BREAK 1 [source_file: testcode] LABEL_NAME b 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateLabel(AstValidator.java:517) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:98) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.UnreachableCodeEliminationTest.testDontRemoveBreakInTryFinallySwitch(UnreachableCodeEliminationTest.java:422)
| 0.000 |
| UnreachableCodeEliminationTest | testIssue1001 | Success | | 0.001 |
| VarCheckTest | testParameter | Success | | 0.002 |
| VarCheckTest | testSimple | Success | | 0.000 |
| VarCheckTest | testRecursiveFunction2 | Success | | 0.001 |
| VarCheckTest | testCallInExterns | Success | | 0.001 |
| VarCheckTest | testBreak | Success | | 0.000 |
| VarCheckTest | testContinue | Success | | 0.000 |
| VarCheckTest | testReferencedVarNotDefined | Success | | 0.001 |
| VarCheckTest | testReferencedLetNotDefined | Success | | 0.000 |
| VarCheckTest | testReferencedVarDefined1 | Success | | 0.001 |
| VarCheckTest | testReferencedVarDefined2 | Success | | 0.001 |
| VarCheckTest | testReferencedVarsExternallyDefined | Success | | 0.000 |
| VarCheckTest | testMultiplyDeclaredVars1 | Success | | 0.001 |
| VarCheckTest | testMultiplyDeclaredVars2 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN 1 [source_file: testcode]
NAME y 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN 1 [source_file: testcode] NAME y 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME x 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.VarCheckTest.testMultiplyDeclaredVars2(VarCheckTest.java:120)
| 0.000 |
| VarCheckTest | testMultiplyDeclaredVars3 | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 1.0 1 [source_file: testcode]
EXPR_RESULT 1 [source_file: testcode]
ASSIGN_MUL 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 1.0 1 [source_file: testcode] EXPR_RESULT 1 [source_file: testcode] ASSIGN_MUL 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME x 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.VarCheckTest.testMultiplyDeclaredVars3(VarCheckTest.java:126)
| 0.001 |
| VarCheckTest | testMultiplyDeclaredVars4 | Success | | 0.000 |
| VarCheckTest | testVarReferenceInExterns | Success | | 0.001 |
| VarCheckTest | testPropReferenceInExterns1 | Success | | 0.000 |
| VarCheckTest | testPropReferenceInExterns2 | Success | | 0.001 |
| VarCheckTest | testPropReferenceInExterns3 | Success | | 0.001 |
| VarCheckTest | testVarInWithBlock | Success | | 0.001 |
| VarCheckTest | testValidFunctionExpr | Success | | 0.000 |
| VarCheckTest | testRecursiveFunction | Success | | 0.001 |
| VarCheckTest | testLegalVarReferenceBetweenModules | Success | | 0.000 |
| VarCheckTest | testMissingModuleDependencyDefault | Success | | 0.001 |
| VarCheckTest | testViolatedModuleDependencyDefault | Success | | 0.000 |
| VarCheckTest | testMissingModuleDependencySkipNonStrict | Success | | 0.000 |
| VarCheckTest | testViolatedModuleDependencySkipNonStrict | Success | | 0.000 |
| VarCheckTest | testMissingModuleDependencySkipNonStrictNotPromoted | Success | | 0.000 |
| VarCheckTest | testViolatedModuleDependencyNonStrictNotPromoted | Success | | 0.000 |
| VarCheckTest | testDependentStrictModuleDependencyCheck | Success | | 0.000 |
| VarCheckTest | testIndependentStrictModuleDependencyCheck | Success | | 0.001 |
| VarCheckTest | testStarStrictModuleDependencyCheck | Success | | 0.000 |
| VarCheckTest | testForwardVarReferenceInLocalScope1 | Success | | 0.001 |
| VarCheckTest | testForwardVarReferenceInLocalScope2 | Success | | 0.000 |
| VarCheckTest | testSimpleSanityCheck | Success | | 0.000 |
| VarCheckTest | testLocalVar | Success | | 0.000 |
| VarCheckTest | testTwoLocalVars | Success | | 0.001 |
| VarCheckTest | testInnerFunctionLocalVar | Success | | 0.000 |
| VarCheckTest | testNoCreateVarsForLabels | Success | | 0.000 |
| VarCheckTest | testVariableInNormalCodeUsedInExterns1 | Success | | 0.001 |
| VarCheckTest | testVariableInNormalCodeUsedInExterns2 | Success | | 0.000 |
| VarCheckTest | testVariableInNormalCodeUsedInExterns3 | Success | | 0.000 |
| VarCheckTest | testVariableInNormalCodeUsedInExterns4 | Success | | 0.000 |
| VarCheckTest | testRedeclaration1 | Success | | 0.001 |
| VarCheckTest | testRedeclaration2 | Success | | 0.000 |
| VarCheckTest | testRedeclaration3 | Success | | 0.001 |
| VarCheckTest | testDuplicateVar | Success | | 0.001 |
| VarCheckTest | testFunctionScopeArguments | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME arguments 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME arguments 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:929) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.testError(CompilerTestCase.java:419) at com.google.javascript.jscomp.VarCheckTest.testFunctionScopeArguments(VarCheckTest.java:372)
| 0.001 |
| VarCheckTest | testNoUndeclaredVarWhenUsingClosurePass | Success | | 0.001 |
| VariableMapTest | testReverseThrowsErrorOnDuplicate | Success | | 0.000 |
| VariableMapTest | testReverseLookupOfNullFindsNoName | Success | | 0.000 |
| VariableMapTest | testCycle1 | Success | | 0.001 |
| VariableMapTest | testFromBytes | Success | | 0.000 |
| VariableMapTest | testFileFormat1 | Success | | 0.001 |
| VariableMapTest | testFromBytesComplex1 | Success | | 0.000 |
| VariableMapTest | testFromBytesComplex2 | Success | | 0.000 |
| VariableMapTest | testToBytes | Success | | 0.000 |
| VariableReferenceCheckTest | testHoistedFunction1 | Success | | 0.000 |
| VariableReferenceCheckTest | testHoistedFunction2 | Success | | 0.001 |
| VariableReferenceCheckTest | testCorrectCode | Success | | 0.002 |
| VariableReferenceCheckTest | testCorrectEarlyReference | Success | | 0.001 |
| VariableReferenceCheckTest | testUnreferencedBleedingFunction | Success | | 0.000 |
| VariableReferenceCheckTest | testReferencedBleedingFunction | Success | | 0.001 |
| VariableReferenceCheckTest | testCorrectShadowing | Success | | 0.000 |
| VariableReferenceCheckTest | testCorrectRedeclare | Success | | 0.000 |
| VariableReferenceCheckTest | testCorrectCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
VAR 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
NUMBER 2.0 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
CATCH 1 [source_file: testcode]
NAME x 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] VAR 1 [source_file: testcode] NAME x 1 [source_file: testcode] NUMBER 2.0 1 [source_file: testcode] BLOCK 1 [source_file: testcode] CATCH 1 [source_file: testcode] NAME x 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:450) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:408) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:741) at com.google.javascript.jscomp.VariableReferenceCheckTest.assertNoWarning(VariableReferenceCheckTest.java:215) at com.google.javascript.jscomp.VariableReferenceCheckTest.testCorrectCatch(VariableReferenceCheckTest.java:77)
| 0.001 |
| VariableReferenceCheckTest | testRedeclare | Success | | 0.001 |
| VariableReferenceCheckTest | testEarlyReference | Success | | 0.001 |
| VariableReferenceCheckTest | testCorrectRecursion | Success | | 0.001 |
| VariableReferenceCheckTest | testDoubleDeclaration | Success | | 0.001 |
| VariableReferenceCheckTest | testDoubleDeclaration2 | Success | | 0.000 |
| VariableReferenceCheckTest | testNonHoistedFunction | Success | | 0.001 |
| VariableReferenceCheckTest | testNonHoistedFunction2 | Success | | 0.001 |
| VariableReferenceCheckTest | testNonHoistedFunction3 | Success | | 0.001 |
| VariableReferenceCheckTest | testNonHoistedFunction4 | Success | | 0.001 |
| VariableReferenceCheckTest | testNonHoistedFunction5 | Success | | 0.000 |
| VariableReferenceCheckTest | testNonHoistedFunction6 | Success | | 0.001 |
| VariableReferenceCheckTest | testNonHoistedFunction7 | Success | | 0.001 |
| VariableReferenceCheckTest | testNonHoistedRecursiveFunction1 | Success | | 0.001 |
| VariableReferenceCheckTest | testNonHoistedRecursiveFunction2 | Success | | 0.000 |
| VariableReferenceCheckTest | testNonHoistedRecursiveFunction3 | Success | | 0.000 |
| VariableReferenceCheckTest | testNoWarnInExterns1 | Success | | 0.001 |
| VariableReferenceCheckTest | testNoWarnInExterns2 | Success | | 0.000 |
| VariableVisibilityAnalysisTest | testParameters | Success | | 0.002 |
| VariableVisibilityAnalysisTest | testCapturedVariables | Success | | 0.001 |
| VariableVisibilityAnalysisTest | testGlobals | Success | | 0.001 |
| VariableVisibilityAnalysisTest | testFunctions | Success | | 0.001 |
| XtbMessageBundleTest | test | Success | | 0.016 |
| ClosureBundlerTest | testGoogModule | Success | | 0.004 |
| ClosureBundlerTest | testGoogModuleWithSourceURL | Success | | 0.003 |
| ClosureBundlerTest | testTraditional | Success | | 0.000 |
| ClosureBundlerTest | testGoogModuleWithEval | Success | | 0.000 |
| ClosureBundlerTest | testGoogModuleWithEvalWithURL | Success | | 0.000 |
| ClosureBundlerTest | testTraditionalWithSourceURL | Success | | 0.000 |
| ClosureBundlerTest | testTraditionalWithEval | Success | | 0.000 |
| ClosureBundlerTest | testTraditionalWithEvalWithSourceUrl | Success | | 0.000 |
| DependencyResolverTest | testSimpleDependencies | Success | | 0.004 |
| DependencyResolverTest | testTransitiveDependencies | Success | | 0.001 |
| DependencyResolverTest | testMultipleRequires | Success | | 0.001 |
| DependencyResolverTest | testOneMoreForGoodMeasure | Success | | 0.000 |
| DependencyResolverTest | testSharedSeenSetNoBaseFile | Success | | 0.001 |
| DependencyResolverTest | testSharedSeenSetNoBaseFileNewRequires | Success | | 0.000 |
| DependencyResolverTest | testNonExistentProvideLoose | Success | | 0.000 |
| DependencyResolverTest | testSharedSeenSetNoBaseFileMultipleProvides | Success | | 0.001 |
| DependencyResolverTest | testNonExistentProvideStrict | Success | | 0.000 |
| DependencyResolverTest | testBasicCase | Success | | 0.000 |
| DepsFileParserTest | testModule | Success | | 0.000 |
| DepsFileParserTest | testGoodParse | Success | | 0.000 |
| DepsFileParserTest | testTooFewArgs | Success | | 0.000 |
| DepsFileParserTest | testTooManyArgs1 | Success | | 0.000 |
| DepsFileParserTest | testTooManyArgs2 | Success | | 0.000 |
| DepsFileParserTest | testShortcutMode | Success | | 0.000 |
| DepsFileParserTest | testNoShortcutMode | Success | | 0.000 |
| JsFileLineParserTest | testSingleLine1 | Success | | 0.000 |
| JsFileLineParserTest | testSingleLine2 | Success | | 0.000 |
| JsFileLineParserTest | testMultiLine1 | Success | | 0.000 |
| JsFileLineParserTest | testMultiLine2 | Success | | 0.000 |
| JsFileLineParserTest | testMultiLine3 | Success | | 0.000 |
| JsFileLineParserTest | testMultiLine4 | Success | | 0.000 |
| JsFileLineParserTest | testMultiLine5 | Success | | 0.000 |
| JsFileLineParserTest | testMultiLine6 | Success | | 0.000 |
| JsFileLineParserTest | testMixedLine1 | Success | | 0.000 |
| JsFileLineParserTest | testMixedLine2 | Success | | 0.000 |
| JsFileParserTest | testParseFile | Success | | 0.000 |
| JsFileParserTest | testParseFile2 | Success | | 0.000 |
| JsFileParserTest | testParseFile3 | Success | | 0.000 |
| JsFileParserTest | testMultiplePerLine | Success | | 0.000 |
| JsFileParserTest | testShortcutMode1 | Success | | 0.000 |
| JsFileParserTest | testShortcutMode2 | Success | | 0.001 |
| JsFileParserTest | testShortcutMode3 | Success | | 0.000 |
| JsFileParserTest | testIncludeGoog1 | Success | | 0.000 |
| JsFileParserTest | testIncludeGoog2 | Success | | 0.000 |
| JsFileParserTest | testIncludeGoog3 | Success | | 0.002 |
| JsFileParserTest | testIncludeGoog4 | Success | | 0.001 |
| JsFunctionParserTest | testParseFile | Success | | 0.002 |
| JsFunctionParserTest | testMultiplePerLine | Success | | 0.000 |
| JsFunctionParserTest | testShortcutMode1 | Success | | 0.000 |
| JsFunctionParserTest | testShortcutMode2 | Success | | 0.000 |
| JsFunctionParserTest | testShortcutMode3 | Success | | 0.001 |
| SortedDependenciesTest | testSort | Success | | 0.000 |
| SortedDependenciesTest | testSort2 | Success | | 0.000 |
| SortedDependenciesTest | testSort3 | Success | | 0.000 |
| SortedDependenciesTest | testSort4 | Success | | 0.000 |
| SortedDependenciesTest | testSort5 | Success | | 0.000 |
| VirtualFileTest | testEquals | Success | | 0.000 |
| VirtualFileTest | testHashCode | Success | | 0.000 |
| GraphColoringTest | testTwoNodesConnected | Success | | 0.001 |
| GraphColoringTest | testNoEdge | Success | | 0.004 |
| GraphColoringTest | testGreedy | Success | | 0.000 |
| GraphColoringTest | testFullyConnected | Success | | 0.067 |
| GraphColoringTest | testAllConnectedToOneNode | Success | | 0.000 |
| GraphColoringTest | testTwoFullyConnected | Success | | 0.119 |
| GraphColoringTest | testDeterministic | Success | | 0.002 |
| GraphReachabilityTest | testSimple | Success | | 0.000 |
| GraphTest | testDirectedSimple | Success | | 0.000 |
| GraphTest | testUndirectedSimple | Success | | 0.001 |
| GraphTest | testDirectedSelfLoop | Success | | 0.000 |
| GraphTest | testNodeAnnotations | Success | | 0.001 |
| GraphTest | testUndirectedSelfLoop | Success | | 0.000 |
| GraphTest | testDirectedInAndOutEdges | Success | | 0.000 |
| GraphTest | testUndirectedNeighbors | Success | | 0.000 |
| GraphTest | testDirectedGetFirstEdge | Success | | 0.001 |
| GraphTest | testUndirectedGetFirstEdge | Success | | 0.000 |
| GraphTest | testEdgeAnnotations | Success | | 0.001 |
| GraphTest | testDegree | Success | | 0.000 |
| GraphTest | testDirectedConnectIfNotFound | Success | | 0.000 |
| GraphTest | testSimpleSubGraph | Success | | 0.000 |
| StandardUnionFindTest | testUnion | Success | | 0.000 |
| StandardUnionFindTest | testElements | Success | | 0.000 |
| StandardUnionFindTest | testEmpty | Success | | 0.000 |
| StandardUnionFindTest | testSetSize | Error | Not true that <[A, B, C]> has a size of <2>. It is <3>
java.lang.AssertionError: Not true that <[A, B, C]> has a size of <2>. It is <3> at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:27) at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:23) at com.google.common.truth.Subject.failWithBadResults(Subject.java:268) at com.google.common.truth.IterableSubject.hasSize(IterableSubject.java:88) at com.google.javascript.jscomp.graph.StandardUnionFindTest.testSetSize(StandardUnionFindTest.java:65)
| 0.001 |
| StandardUnionFindTest | testAdd | Success | | 0.000 |
| StandardUnionFindTest | testFind | Success | | 0.000 |
| StandardUnionFindTest | testAllEquivalenceClasses | Success | | 0.001 |
| StandardUnionFindTest | testFindAll | Success | | 0.000 |
| StandardUnionFindTest | testFindAllIterator | Success | | 0.000 |
| StandardUnionFindTest | testFindAllSize | Success | | 0.000 |
| StandardUnionFindTest | testCopy | Success | | 0.000 |
| StandardUnionFindTest | testChangesToCopyDontAffectOriginal | Success | | 0.000 |
| StandardUnionFindTest | testCheckEquivalent | Success | | 0.000 |
| CheckEnumsTest | testCheckEnums | Success | | 0.009 |
| CheckInterfacesTest | testInterfaceNotEmpty | Success | | 0.004 |
| CheckInterfacesTest | testInterfaceArgs | Success | | 0.003 |
| CheckJSDocTest | testMissingParam | Success | | 0.001 |
| CheckJSDocTest | testMissingPrivate | Success | | 0.001 |
| CheckJSDocTest | testOptionalArgs | Success | | 0.001 |
| CheckNullableReturnTest | testTryCatch | Error | Missing catch or finally for try statement.. Reference node:
TRY 3 [source_file: testcode]
BLOCK 3 [source_file: testcode]
RETURN 4 [source_file: testcode]
NEW 4 [source_file: testcode]
NAME SomeType 4 [source_file: testcode]
BLOCK 5 [source_file: testcode]
CATCH 5 [source_file: testcode]
NAME e 5 [source_file: testcode]
BLOCK 5 [source_file: testcode]
RETURN 6 [source_file: testcode]
NEW 6 [source_file: testcode]
NAME SomeType 6 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 3 [source_file: testcode] BLOCK 3 [source_file: testcode] RETURN 4 [source_file: testcode] NEW 4 [source_file: testcode] NAME SomeType 4 [source_file: testcode] BLOCK 5 [source_file: testcode] CATCH 5 [source_file: testcode] NAME e 5 [source_file: testcode] BLOCK 5 [source_file: testcode] RETURN 6 [source_file: testcode] NEW 6 [source_file: testcode] NAME SomeType 6 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:835) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:814) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:780) at com.google.javascript.jscomp.lint.CheckNullableReturnTest.testError(CheckNullableReturnTest.java:212) at com.google.javascript.jscomp.lint.CheckNullableReturnTest.testTryCatch(CheckNullableReturnTest.java:139)
| 0.000 |
| CheckNullableReturnTest | testFinallyStatements | Error | Missing catch or finally for try statement.. Reference node:
TRY 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
RETURN 1 [source_file: testcode]
NULL 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
java.lang.IllegalStateException: Missing catch or finally for try statement.. Reference node: TRY 1 [source_file: testcode] BLOCK 1 [source_file: testcode] RETURN 1 [source_file: testcode] NULL 1 [source_file: testcode] BLOCK 1 [source_file: testcode] BLOCK 1 [source_file: testcode]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:54) at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:1167) at com.google.javascript.jscomp.AstValidator.validateTry(AstValidator.java:888) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:142) at com.google.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:481) at com.google.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:569) at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:104) at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:91) at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:82) at com.google.javascript.jscomp.AstValidator.validateRoot(AstValidator.java:75) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:967) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:935) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:543) at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:509) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:835) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:814) at com.google.javascript.jscomp.CompilerTestCase.testSame(CompilerTestCase.java:780) at com.google.javascript.jscomp.lint.CheckNullableReturnTest.testOk(CheckNullableReturnTest.java:208) at com.google.javascript.jscomp.lint.CheckNullableReturnTest.testBodyOk(CheckNullableReturnTest.java:216) at com.google.javascript.jscomp.lint.CheckNullableReturnTest.testFinallyStatements(CheckNullableReturnTest.java:93)
| 0.001 |
| CheckNullableReturnTest | testKnownConditions | Success | | 0.010 |
| CheckNullableReturnTest | testKnownWhileLoop | Success | | 0.003 |
| CheckNullableReturnTest | testSimpleWarning | Success | | 0.001 |
| CheckNullableReturnTest | testNullableReturn | Success | | 0.002 |
| CheckNullableReturnTest | testNotNullableReturn | Success | | 0.004 |
| CheckNullableReturnTest | testTwoBranches | Success | | 0.001 |
| CheckNullableReturnTest | testNoExplicitReturn | Success | | 0.001 |
| CheckNullableReturnTest | testNoWarningIfCanReturnNull | Success | | 0.002 |
| CheckNullableReturnTest | testNoWarningOnEmptyFunction | Success | | 0.001 |
| CheckNullableReturnTest | testNoWarningOnXOrNull | Success | | 0.001 |
| CheckPrototypePropertiesTest | testNoWarning | Success | | 0.003 |
| CheckPrototypePropertiesTest | testWarnings | Success | | 0.002 |
| AttachJsdocsTest | testOldJsdocAdd | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocArrayLit | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocAssign1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocAssign2 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocAssign3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocBlock1 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocBlock2 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocBreak | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocCall2 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocCall3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocCall4 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocCall5 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocCall6 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocCall7 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocCall8 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocComma3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocContinue | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocDot | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocDot2 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocForInLoop2 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocForInLoop3 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocForLoop2 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocForLoop4 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocForLoop7 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocForLoop8 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocForLoop11 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocFun1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocFun2 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocFun3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocFun4 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocFun5 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocFun6 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocFun7 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocGetElem1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocGetElem3 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocGetProp1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocGetProp2 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocGetProp3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocGetter1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocGetter2 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocGetter3 | Success | | 0.000 |
| AttachJsdocsTest | testJsdocHook1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocHook3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocHook5 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocIf1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocNew1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocNew2 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocObjLit2 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocObjLit3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocPostfix1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocPostfix2 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocReturn1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocReturn3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocSetter | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocScript1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocScript2 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocScript3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocSwitch1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocSwitch3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocSwitch4 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocSwitch5 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocSwitch6 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocSwitch7 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocThrow | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocTryCatch1 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocTryCatch3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocTryFinally | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocUnary | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocVar1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocVar2 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocVar3 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocVar4 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocVar5 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocWhile2 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocWith1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocWith4 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocManyComments1 | Success | | 0.000 |
| AttachJsdocsTest | testOldJsdocManyComments2 | Success | | 0.001 |
| AttachJsdocsTest | testOldJsdocManyCommentsOnOneNode | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprUnion | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprRecord | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprNullable | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprNonNullable | Success | | 0.000 |
| JsDocInfoParserTest | testPrivateType | Success | | 0.000 |
| JsDocInfoParserTest | testInterfaceExtends | Success | | 0.000 |
| JsDocInfoParserTest | testParseTypeViaStatic3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTypeViaStatic4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseInvalidTypeViaStatic | Success | | 0.000 |
| JsDocInfoParserTest | testParseTypeViaStatic1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTypeViaStatic2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseInvalidTypeViaStatic2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNamedType1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNamedType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNamedType3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNamedType4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNamedType5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNamedType6 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNamedTypeError1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseNamedTypeError2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNamespaceType1 | Success | | 0.001 |
| JsDocInfoParserTest | testTypedefType1 | Success | | 0.000 |
| JsDocInfoParserTest | testTypedefType2 | Success | | 0.001 |
| JsDocInfoParserTest | testTypedefType3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseStringType1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseStringType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseBooleanType1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseBooleanType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNumberType1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseNumberType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNullType1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseNullType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseAllType1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseAllType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseObjectType | Success | | 0.001 |
| JsDocInfoParserTest | testParseDateType | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionType | Success | | 0.001 |
| JsDocInfoParserTest | testParseRegExpType | Success | | 0.000 |
| JsDocInfoParserTest | testParseErrorTypes | Success | | 0.000 |
| JsDocInfoParserTest | testParseUndefinedType1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseUndefinedType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUndefinedType3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTemplatizedTypeAlternateSyntax | Success | | 0.000 |
| JsDocInfoParserTest | testParseTemplatizedType1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseTemplatizedType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTemplatizedType3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTemplatizedType4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTemplatizedType5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTemplatizedType6 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTemplatizedType7 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTemplatizedType8 | Success | | 0.001 |
| JsDocInfoParserTest | testParseTemplatizedType9 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTemplatizedType10 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTemplatizedType11 | Success | | 0.001 |
| JsDocInfoParserTest | testParseTemplatizedType12 | Success | | 0.000 |
| JsDocInfoParserTest | testParseTemplatizedType13 | Success | | 0.001 |
| JsDocInfoParserTest | testParseUnionType1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType3 | Success | | 0.001 |
| JsDocInfoParserTest | testParseUnionType4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType6 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType7 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType8 | Success | | 0.001 |
| JsDocInfoParserTest | testParseUnionType9 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType10 | Success | | 0.001 |
| JsDocInfoParserTest | testParseUnionType11 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType12 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType13 | Success | | 0.001 |
| JsDocInfoParserTest | testParseUnionType14 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType15 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType16 | Success | | 0.001 |
| JsDocInfoParserTest | testParseUnionType17 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionType18 | Success | | 0.001 |
| JsDocInfoParserTest | testParseUnionType19 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnionTypeError1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseUnknownType1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseUnknownType2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseUnknownType3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseFunctionalType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType5 | Success | | 0.001 |
| JsDocInfoParserTest | testParseFunctionalType6 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType7 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType9 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType10 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType12 | Success | | 0.001 |
| JsDocInfoParserTest | testParseFunctionalType13 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType14 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType15 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType16 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType17 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType18 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType19 | Success | | 0.000 |
| JsDocInfoParserTest | testStructuralConstructor | Success | | 0.000 |
| JsDocInfoParserTest | testStructuralConstructor2 | Success | | 0.001 |
| JsDocInfoParserTest | testStructuralConstructor3 | Success | | 0.000 |
| JsDocInfoParserTest | testNominalConstructor | Success | | 0.000 |
| JsDocInfoParserTest | testBug1419535 | Success | | 0.001 |
| JsDocInfoParserTest | testIssue477 | Success | | 0.000 |
| JsDocInfoParserTest | testMalformedThisAnnotation | Success | | 0.001 |
| JsDocInfoParserTest | testParseFunctionalTypeError1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalTypeError2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalTypeError3 | Success | | 0.004 |
| JsDocInfoParserTest | testParseFunctionalTypeError4 | Success | | 0.001 |
| JsDocInfoParserTest | testParseFunctionalTypeError5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalTypeError6 | Success | | 0.001 |
| JsDocInfoParserTest | testParseFunctionalTypeError7 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalTypeError8 | Success | | 0.001 |
| JsDocInfoParserTest | testParseFunctionalTypeError9 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalTypeError10 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalTypeError11 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalTypeError12 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalTypeError13 | Success | | 0.001 |
| JsDocInfoParserTest | testParseFunctionalTypeError14 | Success | | 0.000 |
| JsDocInfoParserTest | testParseFunctionalType8 | Success | | 0.001 |
| JsDocInfoParserTest | testParseArrayTypeError1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseArrayTypeError2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseArrayTypeError3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseArrayTypeError4 | Success | | 0.001 |
| JsDocInfoParserTest | testParseArrayTypeError5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNullableModifiers1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseNullableModifiers2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseNullableModifiers3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNullableModifiers4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNullableModifiers5 | Success | | 0.001 |
| JsDocInfoParserTest | testParseNullableModifiers6 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNullableModifiers7 | Success | | 0.001 |
| JsDocInfoParserTest | testParseNullableModifiers8 | Success | | 0.001 |
| JsDocInfoParserTest | testParseNullableModifiers9 | Success | | 0.000 |
| JsDocInfoParserTest | testParseOptionalModifier | Success | | 0.001 |
| JsDocInfoParserTest | testParseNewline1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseNewline2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNewline3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNewline4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNewline5 | Success | | 0.001 |
| JsDocInfoParserTest | testParseReturnType1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseReturnType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseReturnType3 | Success | | 0.001 |
| JsDocInfoParserTest | testParseThisType1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseThisType2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseThisType3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseThisType4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseThisType5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseThisType6 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseParam2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam6 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam7 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam8 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam9 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam10 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam11 | Success | | 0.001 |
| JsDocInfoParserTest | testParseParam12 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam13 | Success | | 0.001 |
| JsDocInfoParserTest | testParseParam14 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam15 | Success | | 0.001 |
| JsDocInfoParserTest | testParseParam16 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam17 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam18 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam19 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam20 | Success | | 0.001 |
| JsDocInfoParserTest | testParseParam21 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam22 | Success | | 0.001 |
| JsDocInfoParserTest | testParseParam23 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParam24 | Success | | 0.001 |
| JsDocInfoParserTest | testParseParam25 | Success | | 0.000 |
| JsDocInfoParserTest | testParseThrows1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseThrows2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseRecordType1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseRecordType3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType6 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType7 | Success | | 0.001 |
| JsDocInfoParserTest | testParseRecordType8 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType9 | Success | | 0.001 |
| JsDocInfoParserTest | testParseRecordType10 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType11 | Success | | 0.001 |
| JsDocInfoParserTest | testParseRecordType12 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType13 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType14 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType15 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType16 | Success | | 0.003 |
| JsDocInfoParserTest | testParseRecordType17 | Success | | 0.001 |
| JsDocInfoParserTest | testParseRecordType18 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType19 | Success | | 0.001 |
| JsDocInfoParserTest | testParseRecordType20 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType21 | Success | | 0.000 |
| JsDocInfoParserTest | testParseRecordType22 | Success | | 0.001 |
| JsDocInfoParserTest | testParseRecordType23 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParamError1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseParamError2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParamError3 | Success | | 0.001 |
| JsDocInfoParserTest | testParseParamError4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseParamError5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseExtends1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseExtends2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseExtendsGenerics | Success | | 0.001 |
| JsDocInfoParserTest | testParseImplementsGenerics | Success | | 0.001 |
| JsDocInfoParserTest | testParseExtends4 | Success | | 0.001 |
| JsDocInfoParserTest | testParseExtends5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseExtends6 | Success | | 0.001 |
| JsDocInfoParserTest | testParseExtendsInvalidName | Success | | 0.000 |
| JsDocInfoParserTest | testParseExtendsNullable1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseExtendsNullable2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseEnum1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseEnum2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseEnum3 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDesc1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDesc2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDesc3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDesc4 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDesc5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDesc6 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDesc7 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDesc8 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDesc9 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDesc10 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDesc11 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDesc12 | Success | | 0.003 |
| JsDocInfoParserTest | testParseMeaning1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseMeaning2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseMeaning3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseMeaning4 | Success | | 0.001 |
| JsDocInfoParserTest | testParseLends1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseLends2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseLends3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseLends4 | Success | | 0.001 |
| JsDocInfoParserTest | testParseLends5 | Success | | 0.001 |
| JsDocInfoParserTest | testParseLends6 | Success | | 0.001 |
| JsDocInfoParserTest | testParseLends7 | Success | | 0.000 |
| JsDocInfoParserTest | testStackedAnnotation | Success | | 0.000 |
| JsDocInfoParserTest | testStackedAnnotation2 | Success | | 0.000 |
| JsDocInfoParserTest | testStackedAnnotation3 | Success | | 0.000 |
| JsDocInfoParserTest | testStackedAnnotation4 | Success | | 0.001 |
| JsDocInfoParserTest | testStackedAnnotation5 | Success | | 0.000 |
| JsDocInfoParserTest | testStackedAnnotation6 | Success | | 0.001 |
| JsDocInfoParserTest | testStackedAnnotation7 | Success | | 0.000 |
| JsDocInfoParserTest | testStackedAnnotation8 | Success | | 0.001 |
| JsDocInfoParserTest | testStackedAnnotation9 | Success | | 0.000 |
| JsDocInfoParserTest | testStackedAnnotation10 | Success | | 0.001 |
| JsDocInfoParserTest | testStackedAnnotation11 | Success | | 0.000 |
| JsDocInfoParserTest | testStackedAnnotation12 | Success | | 0.000 |
| JsDocInfoParserTest | testParsePreserve | Success | | 0.000 |
| JsDocInfoParserTest | testParseLicense | Success | | 0.000 |
| JsDocInfoParserTest | testParseLicenseAscii | Success | | 0.001 |
| JsDocInfoParserTest | testParseLicenseWithAnnotation | Success | | 0.000 |
| JsDocInfoParserTest | testParseDefine1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDefine2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDefine3 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDefine4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDefine5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDefineDescription | Success | | 0.001 |
| JsDocInfoParserTest | testParsePrivateDescription | Success | | 0.000 |
| JsDocInfoParserTest | testParsePackagePrivateDescription | Success | | 0.000 |
| JsDocInfoParserTest | testParseProtectedDescription | Success | | 0.000 |
| JsDocInfoParserTest | testParseDefineErrors1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDefineErrors2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDefineErrors3 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDefineErrors4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDefineErrors5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDefineErrors7 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDefineErrors8 | Success | | 0.000 |
| JsDocInfoParserTest | testParseOverride1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseOverride2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseInheritDoc1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseInheritDoc2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseInheritDoc3 | Success | | 0.001 |
| JsDocInfoParserTest | testParseNoAlias1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNoAlias2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDeprecated1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDeprecated2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseExport1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseExport2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseExpose1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseExpose2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseExterns1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseExterns2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseExterns3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNoCompile1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNoCompile2 | Success | | 0.000 |
| JsDocInfoParserTest | testBugAnnotation | Success | | 0.000 |
| JsDocInfoParserTest | testDescriptionAnnotation | Success | | 0.000 |
| JsDocInfoParserTest | testRegression1 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression2 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression3 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression4 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression5 | Success | | 0.001 |
| JsDocInfoParserTest | testRegression6 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression7 | Success | | 0.001 |
| JsDocInfoParserTest | testRegression8 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression9 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression10 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression11 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression12 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression13 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression14 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression15 | Success | | 0.000 |
| JsDocInfoParserTest | testRegression16 | Success | | 0.001 |
| JsDocInfoParserTest | testRegression17 | Success | | 0.000 |
| JsDocInfoParserTest | testFullRegression1 | Success | | 0.000 |
| JsDocInfoParserTest | testFullRegression2 | Success | | 0.000 |
| JsDocInfoParserTest | testFullRegression3 | Success | | 0.000 |
| JsDocInfoParserTest | testBug907488 | Success | | 0.000 |
| JsDocInfoParserTest | testBug907494 | Success | | 0.001 |
| JsDocInfoParserTest | testBug909468 | Success | | 0.000 |
| JsDocInfoParserTest | testParseInterface | Success | | 0.001 |
| JsDocInfoParserTest | testParseImplicitCast1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseImplicitCast2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDuplicateImplicitCast | Success | | 0.000 |
| JsDocInfoParserTest | testParseInterfaceDoubled | Success | | 0.001 |
| JsDocInfoParserTest | testParseImplements | Success | | 0.000 |
| JsDocInfoParserTest | testParseImplementsTwo | Success | | 0.001 |
| JsDocInfoParserTest | testParseImplementsSameTwice | Success | | 0.000 |
| JsDocInfoParserTest | testParseImplementsNoName | Success | | 0.000 |
| JsDocInfoParserTest | testParseImplementsMissingRC | Success | | 0.000 |
| JsDocInfoParserTest | testParseImplementsNullable1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseImplementsNullable2 | Success | | 0.000 |
| JsDocInfoParserTest | testInterfaceMultiExtends1 | Success | | 0.001 |
| JsDocInfoParserTest | testInterfaceMultiExtends2 | Success | | 0.000 |
| JsDocInfoParserTest | testBadClassMultiExtends | Success | | 0.001 |
| JsDocInfoParserTest | testBadExtendsWithNullable | Success | | 0.000 |
| JsDocInfoParserTest | testBadImplementsWithNullable | Success | | 0.000 |
| JsDocInfoParserTest | testBadTypeDefInterfaceAndConstructor1 | Success | | 0.001 |
| JsDocInfoParserTest | testBadTypeDefInterfaceAndConstructor2 | Success | | 0.000 |
| JsDocInfoParserTest | testDocumentationParameter | Success | | 0.000 |
| JsDocInfoParserTest | testMultilineDocumentationParameter | Success | | 0.000 |
| JsDocInfoParserTest | testDocumentationMultipleParameter | Success | | 0.000 |
| JsDocInfoParserTest | testDocumentationMultipleParameter2 | Success | | 0.000 |
| JsDocInfoParserTest | testAuthors | Success | | 0.001 |
| JsDocInfoParserTest | testSuppress1 | Success | | 0.000 |
| JsDocInfoParserTest | testSuppress2 | Success | | 0.001 |
| JsDocInfoParserTest | testSuppress3 | Success | | 0.000 |
| JsDocInfoParserTest | testBadSuppress1 | Success | | 0.000 |
| JsDocInfoParserTest | testBadSuppress2 | Success | | 0.001 |
| JsDocInfoParserTest | testBadSuppress3 | Success | | 0.000 |
| JsDocInfoParserTest | testBadSuppress4 | Success | | 0.000 |
| JsDocInfoParserTest | testBadSuppress6 | Success | | 0.001 |
| JsDocInfoParserTest | testBadSuppress7 | Success | | 0.000 |
| JsDocInfoParserTest | testBadSuppress8 | Success | | 0.001 |
| JsDocInfoParserTest | testModifies1 | Success | | 0.000 |
| JsDocInfoParserTest | testModifies2 | Success | | 0.001 |
| JsDocInfoParserTest | testModifies3 | Success | | 0.000 |
| JsDocInfoParserTest | testModifies4 | Success | | 0.000 |
| JsDocInfoParserTest | testModifies5 | Success | | 0.001 |
| JsDocInfoParserTest | testModifies6 | Success | | 0.000 |
| JsDocInfoParserTest | testBadModifies1 | Success | | 0.000 |
| JsDocInfoParserTest | testBadModifies2 | Success | | 0.000 |
| JsDocInfoParserTest | testBadModifies3 | Success | | 0.000 |
| JsDocInfoParserTest | testBadModifies4 | Success | | 0.000 |
| JsDocInfoParserTest | testBadModifies5 | Success | | 0.001 |
| JsDocInfoParserTest | testBadModifies6 | Success | | 0.000 |
| JsDocInfoParserTest | testBadModifies7 | Success | | 0.001 |
| JsDocInfoParserTest | testBadModifies8 | Success | | 0.000 |
| JsDocInfoParserTest | testBadModifies9 | Success | | 0.000 |
| JsDocInfoParserTest | testFileOverviewSingleLine | Success | | 0.001 |
| JsDocInfoParserTest | testFileOverviewMultiLine | Success | | 0.000 |
| JsDocInfoParserTest | testFileOverviewDuplicate | Success | | 0.001 |
| JsDocInfoParserTest | testPublicVisibilityAllowedInFileOverview | Success | | 0.000 |
| JsDocInfoParserTest | testPackageVisibilityAllowedInFileOverview | Success | | 0.000 |
| JsDocInfoParserTest | testImplicitVisibilityAllowedInFileOverview | Success | | 0.001 |
| JsDocInfoParserTest | testProtectedVisibilityNotAllowedInFileOverview | Success | | 0.001 |
| JsDocInfoParserTest | testPrivateVisibilityNotAllowedInFileOverview | Success | | 0.000 |
| JsDocInfoParserTest | testReferences | Success | | 0.000 |
| JsDocInfoParserTest | testSingleTags | Success | | 0.001 |
| JsDocInfoParserTest | testSingleTags2 | Success | | 0.000 |
| JsDocInfoParserTest | testSingleTagsReordered | Success | | 0.000 |
| JsDocInfoParserTest | testVersionDuplication | Success | | 0.000 |
| JsDocInfoParserTest | testVersionMissing | Success | | 0.000 |
| JsDocInfoParserTest | testAuthorMissing | Success | | 0.000 |
| JsDocInfoParserTest | testSeeMissing | Success | | 0.000 |
| JsDocInfoParserTest | testSourceName | Success | | 0.001 |
| JsDocInfoParserTest | testParseBlockComment | Success | | 0.000 |
| JsDocInfoParserTest | testParseBlockComment2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseBlockComment3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseWithMarkers1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseWithMarkers2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseWithMarkers3 | Success | | 0.001 |
| JsDocInfoParserTest | testParseWithMarkers4 | Success | | 0.000 |
| JsDocInfoParserTest | testParseWithMarkers5 | Success | | 0.000 |
| JsDocInfoParserTest | testParseWithMarkers6 | Success | | 0.000 |
| JsDocInfoParserTest | testParseWithMarkerNames1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseWithMarkerNames2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseWithMarkerNames3 | Success | | 0.000 |
| JsDocInfoParserTest | testParseWithoutMarkerName | Success | | 0.000 |
| JsDocInfoParserTest | testParseWithMarkerType | Success | | 0.001 |
| JsDocInfoParserTest | testParseWithMarkerType2 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict1 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict2 | Success | | 0.001 |
| JsDocInfoParserTest | testTypeTagConflict3 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict4 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict5 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict6 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict7 | Success | | 0.001 |
| JsDocInfoParserTest | testTypeTagConflict8 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict9 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict10 | Success | | 0.001 |
| JsDocInfoParserTest | testTypeTagConflict11 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict12 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict13 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict14 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict15 | Success | | 0.001 |
| JsDocInfoParserTest | testTypeTagConflict16 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict17 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict18 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict19 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict20 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict21 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict22 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict23 | Success | | 0.000 |
| JsDocInfoParserTest | testTypeTagConflict24 | Success | | 0.001 |
| JsDocInfoParserTest | testTypeTagConflict25 | Success | | 0.000 |
| JsDocInfoParserTest | testPackageType | Success | | 0.000 |
| JsDocInfoParserTest | testProtectedType | Success | | 0.001 |
| JsDocInfoParserTest | testPublicType | Success | | 0.000 |
| JsDocInfoParserTest | testConstType | Success | | 0.000 |
| JsDocInfoParserTest | testExportType | Success | | 0.001 |
| JsDocInfoParserTest | testMixedVisibility | Success | | 0.000 |
| JsDocInfoParserTest | testStableIdGeneratorConflict | Success | | 0.001 |
| JsDocInfoParserTest | testIdGenerator | Success | | 0.000 |
| JsDocInfoParserTest | testIdGeneratorConflict | Success | | 0.000 |
| JsDocInfoParserTest | testIdGenerator1 | Success | | 0.000 |
| JsDocInfoParserTest | testIdGenerator2 | Success | | 0.000 |
| JsDocInfoParserTest | testIdGenerator3 | Success | | 0.000 |
| JsDocInfoParserTest | testIdGenerator4 | Success | | 0.000 |
| JsDocInfoParserTest | testBadIdGenerator1 | Success | | 0.001 |
| JsDocInfoParserTest | testBadIdGenerator2 | Success | | 0.000 |
| JsDocInfoParserTest | testBadIdGenerator3 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTemplateTypeNameMissing | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTwoTemplates | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithInvalidTemplateType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithValidAndInvalidTemplateType | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTemplateDuplicated | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTemplateDuplicated2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTemplateDuplicated3 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTemplateTypeNameDeclaredTwice | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTemplateTypeNameDeclaredTwice2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTemplateTypeNameDeclaredTwice3 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTemplateTypeNameDeclaredTwice4 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithDoubleTemplateDeclaration2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTemplateDuplicatedTypeNameMissing | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTypeTransformationNewline | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTypeTransformation | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTypeTransformation2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTypeTransformationMultipleNames | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithMissingTypeTransformationExpression | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithMissingTypeTransformationExpression2 | Success | | 0.000 |
| JsDocInfoParserTest | testBug16129690 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidOperation | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidTypeTransformation | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidTypename | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidTypename2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidTypename3 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidTypename4 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLBasicType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidUnionType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidUnionType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidUnionType3 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLEmptyUnionType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLSingletonUnionType | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidUnionType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithNestedUnionFirstParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithNestedUnionSecondParam | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithNestedBooleanFirstParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithNestedBooleanSecondParam | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditional | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditional2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalStringEquivalence | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalStringEquivalence2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalStringEquivalence3 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsConstructor | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsConstructor2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsTemplatized | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsTemplatized2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsRecord | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalAndOperation | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalOrOperation | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalNotOperation | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalNestedBoolOperation | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsRecord2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsDefined | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsUnknown | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalStringEquivalenceInvalidParam | Success | | 0.002 |
| JsDocInfoParserTest | testParserWithTTLConditionalStringEquivalenceInvalidParamEmptyStr | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsConstructorInvalidParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsTemplatizedInvalidParam | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsRecordInvalidParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsDefinedInvalidParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalIsUnknownInvalidParam | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalAndInvalidParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalAndInvalidParam2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalOrInvalidParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLConditionalOrInvalidParam2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLConditionalNotInvalidParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLExtraParamBoolean | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLExtraParamStringEq | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLExtraParamIsConstructor | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLExtraParamIsTemplatized | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLExtraParamIsRecord | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLExtraParamIsDefined | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLExtraParamIsUnknown | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLMissingParamBoolean | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLMissingParamStringEquivalence | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLMissingParamIsConstructor | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLMissingParamIsTemplatized | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLMissingParamIsRecord | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLMissingParamIsDefined | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLMissingParamIsUnknown | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidBooleanConditional | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidBooleanConditional2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidBooleanConditional3 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidConditionalMissingParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidConditionalExtraParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidConditional | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidConditional2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLValidMapunion | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidMapunion2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidMapunionType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidMapunionFn | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidMapunionMissingParams | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidMapunionExtraParams | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidMapunionMissingFnParams | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidMapunionExtraFnParams | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidMapunionFunctionBody | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLUseCaseObject | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLNoneType | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLNoneType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidNoneType | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidNoneType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLAllType | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLAllType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidAllType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidAllType2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLUnknownType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLUnknownType2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidUnknownType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidUnknownType2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLTemplateTypeOperation | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLTemplateTypeOperationGeneric | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLTemplateTypeOperationGeneric2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLTemplateTypeOperationNestedGeneric | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLTemplateTypeOperationGenericWithUnion | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidTemplateTypeOperationGenericUnion | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidTypeOperationNestedGeneric | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLValidRawTypeOperation | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLValidRawTypeOperation2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidRawTypeOperation | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidRawTypeOperationExtraParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidRawTypeOperationMissingParam | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLNestedRawTypeOperation | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidTemplateTypeOfOperation | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidTemplateTypeOfOperation2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidFirstParamTemplateTypeOf | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidSecondParamTemplateTypeOf | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidSecondParamTemplateTypeOf2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidSecondParamTemplateTypeOf3 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidTemplateTypeOfExtraParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidTemplateTypeOfMissingParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidTemplateTypeOfMissingParam2 | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLNestedTemplateTypeOfOperation | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidPrintType | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidFirstParamPrintType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidSecondParamPrintType | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidPrintTypeExtraParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidPrintTypeOfMissingParam | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidPrintTypeOfMissingParam2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidPropType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidFirstParamPropType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidSecondParamPropType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidPropTypeExtraParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidPropTypeOfMissingParam | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidPropTypeOfMissingParam2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLRecordType | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLNestedRecordType | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidRecordTypeMissingParam | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLMergeRecords | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidMergeRecords | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidRecordTypeWithInvalidTypeInProperty | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidRecordTypeMissingTypeInProperty | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidRecordTypeInvalidRecordExpression | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLRecordTypeTypeVars | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLEmptyRecordType | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLTypeTransformationInFirstParamMapunion | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLValidMaprecord | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLValidMaprecord2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidMaprecordFirstParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidMaprecordNotAFunction | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidMaprecordMissingParams | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidMaprecordExtraParams | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidMaprecordMissingParamsInMapFunction | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidMaprecordMissingParamsInMapFunction2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInvalidMaprecordExtraParamsInMapFunction | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInvalidMaprecordInvalidFunctionBody | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLTypeOfVar | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLTypeOfVar2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLTypeOfVarInvalidName | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLTypeOfVarMissingParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLTypeOfVarExtraParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInstanceOf | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInstanceOf2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInstanceOfInvalidName | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLInstanceOfMissingParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLInstanceOfExtraParam | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprBasic | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprBasic2 | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprFunction | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprFunctionReturn | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprFunctionThis | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprFunctionNew | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprFunctionVarargs | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprFunctionOptional | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprMissingParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLNativeTypeExprExtraParam | Success | | 0.000 |
| JsDocInfoParserTest | testParserWithTTLNativeInvalidTypeExpr | Success | | 0.001 |
| JsDocInfoParserTest | testParserWithTTLAsynchUseCase | Success | | 0.000 |
| JsDocInfoParserTest | testWhitelistedNewAnnotations | Success | | 0.000 |
| JsDocInfoParserTest | testWhitelistedConflictingAnnotation | Success | | 0.001 |
| JsDocInfoParserTest | testNonIdentifierAnnotation | Success | | 0.000 |
| JsDocInfoParserTest | testUnsupportedJsDocSyntax1 | Success | | 0.001 |
| JsDocInfoParserTest | testUnsupportedJsDocSyntax2 | Success | | 0.000 |
| JsDocInfoParserTest | testWhitelistedAnnotations | Success | | 0.001 |
| JsDocInfoParserTest | testJsDocInfoPosition | Success | | 0.000 |
| JsDocInfoParserTest | testGetOriginalCommentString | Success | | 0.001 |
| JsDocInfoParserTest | testParseNgInject1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseNgInject2 | Success | | 0.001 |
| JsDocInfoParserTest | testParseJaggerInject | Success | | 0.000 |
| JsDocInfoParserTest | testParseJaggerInjectExtra | Success | | 0.000 |
| JsDocInfoParserTest | testParseJaggerModule | Success | | 0.001 |
| JsDocInfoParserTest | testParseJaggerModuleExtra | Success | | 0.000 |
| JsDocInfoParserTest | testParseJaggerProvide | Success | | 0.000 |
| JsDocInfoParserTest | testParseJaggerProvideExtra | Success | | 0.001 |
| JsDocInfoParserTest | testParseJaggerProvidePromise | Success | | 0.000 |
| JsDocInfoParserTest | testParseJaggerProvidePromiseExtra | Success | | 0.000 |
| JsDocInfoParserTest | testParseWizaction1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseWizaction2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDisposes1 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDisposes2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDisposes3 | Success | | 0.001 |
| JsDocInfoParserTest | testParseDisposesUnknown | Success | | 0.000 |
| JsDocInfoParserTest | testParseDisposesMultiple | Success | | 0.000 |
| JsDocInfoParserTest | testParseDisposesAll1 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDisposesAll2 | Success | | 0.000 |
| JsDocInfoParserTest | testParseDisposesAll3 | Success | | 0.001 |
| JsDocInfoParserTest | testTextExtents | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization1 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization2 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization3 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization4 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization5 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization6 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization7 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization8 | Success | | 0.001 |
| JsDocTokenStreamTest | testJsDocTokenization9 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization10 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization11 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization12 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization13 | Success | | 0.001 |
| JsDocTokenStreamTest | testJsDocTokenization14 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization15 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization16 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization17 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization18 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization19 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization20 | Success | | 0.000 |
| JsDocTokenStreamTest | testJsDocTokenization21 | Success | | 0.000 |
| NewParserTest | testGetter | Success | | 0.001 |
| NewParserTest | testSetter | Success | | 0.001 |
| NewParserTest | testDefaultParameters | Success | | 0.000 |
| NewParserTest | testDefaultParametersWithRestParameters | Success | | 0.001 |
| NewParserTest | testTemplateLiteral | Error | N/A
java.lang.ArrayIndexOutOfBoundsException
| 0.000 |
| NewParserTest | testObjectDestructuringComputedProp | Success | | 0.001 |
| NewParserTest | testRegExp | Success | | 0.000 |
| NewParserTest | testFunction | Success | | 0.001 |
| NewParserTest | testReturn | Success | | 0.000 |
| NewParserTest | testThrow | Success | | 0.000 |
| NewParserTest | testArrayDestructuringRest | Success | | 0.001 |
| NewParserTest | testMixedDestructuring | Success | | 0.000 |
| NewParserTest | testWhile | Success | | 0.000 |
| NewParserTest | testImport | Success | | 0.000 |
| NewParserTest | testNestedWhile | Success | | 0.000 |
| NewParserTest | testBreakCrossFunction | Success | | 0.001 |
| NewParserTest | testBreakCrossFunctionInFor | Success | | 0.000 |
| NewParserTest | testBreakInForOf | Success | | 0.000 |
| NewParserTest | testContinueToSwitch | Success | | 0.000 |
| NewParserTest | testContinueToSwitchWithNoCases | Success | | 0.000 |
| NewParserTest | testContinueToSwitchWithTwoCases | Success | | 0.001 |
| NewParserTest | testContinueToSwitchWithDefault | Success | | 0.000 |
| NewParserTest | testContinueToLabelSwitch | Success | | 0.000 |
| NewParserTest | testContinueOutsideSwitch | Success | | 0.001 |
| NewParserTest | testContinueNotCrossFunction1 | Success | | 0.000 |
| NewParserTest | testContinueNotCrossFunction2 | Success | | 0.000 |
| NewParserTest | testContinueInForOf | Success | | 0.001 |
| NewParserTest | testLabel1 | Success | | 0.000 |
| NewParserTest | testLabel2 | Success | | 0.000 |
| NewParserTest | testLabel3 | Success | | 0.001 |
| NewParserTest | testDuplicateLabelWithoutBraces | Success | | 0.000 |
| NewParserTest | testDuplicateLabelWithBraces | Success | | 0.001 |
| NewParserTest | testDuplicateLabelWithFor | Success | | 0.000 |
| NewParserTest | testNonDuplicateLabelSiblings | Success | | 0.000 |
| NewParserTest | testNonDuplicateLabelCrossFunction | Success | | 0.000 |
| NewParserTest | testLinenoCharnoAssign1 | Success | | 0.000 |
| NewParserTest | testLinenoCharnoAssign2 | Success | | 0.000 |
| NewParserTest | testLinenoCharnoCall | Success | | 0.000 |
| NewParserTest | testLinenoCharnoGetProp1 | Success | | 0.001 |
| NewParserTest | testLinenoCharnoGetProp2 | Success | | 0.000 |
| NewParserTest | testLinenoCharnoGetelem1 | Success | | 0.000 |
| NewParserTest | testLinenoCharnoGetelem2 | Success | | 0.000 |
| NewParserTest | testLinenoCharnoGetelem3 | Success | | 0.000 |
| NewParserTest | testLinenoCharnoForComparison | Success | | 0.000 |
| NewParserTest | testLinenoCharnoHook | Success | | 0.001 |
| NewParserTest | testLinenoCharnoArrayLiteral | Success | | 0.000 |
| NewParserTest | testLinenoCharnoObjectLiteral | Success | | 0.000 |
| NewParserTest | testLinenoCharnoAdd | Success | | 0.001 |
| NewParserTest | testLinenoCharnoSub | Success | | 0.000 |
| NewParserTest | testLinenoCharnoMul | Success | | 0.001 |
| NewParserTest | testLinenoCharnoDiv | Success | | 0.000 |
| NewParserTest | testLinenoCharnoMod | Success | | 0.000 |
| NewParserTest | testLinenoCharnoShift | Success | | 0.000 |
| NewParserTest | testLinenoCharnoBinaryAnd | Success | | 0.000 |
| NewParserTest | testLinenoCharnoAnd | Success | | 0.001 |
| NewParserTest | testLinenoCharnoBinaryOr | Success | | 0.000 |
| NewParserTest | testLinenoCharnoOr | Success | | 0.000 |
| NewParserTest | testLinenoCharnoLt | Success | | 0.001 |
| NewParserTest | testLinenoCharnoLe | Success | | 0.000 |
| NewParserTest | testLinenoCharnoGt | Success | | 0.000 |
| NewParserTest | testLinenoCharnoGe | Success | | 0.001 |
| NewParserTest | testJSDocAttachment1 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment2 | Success | | 0.001 |
| NewParserTest | testJSDocAttachment3 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment4 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment5 | Success | | 0.001 |
| NewParserTest | testJSDocAttachment6 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment7 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment8 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment9 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment10 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment11 | Success | | 0.001 |
| NewParserTest | testJSDocAttachment12 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment13 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment14 | Success | | 0.001 |
| NewParserTest | testJSDocAttachment15 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment16 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment17 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment18 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment19 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment20 | Success | | 0.001 |
| NewParserTest | testJSDocAttachment21 | Success | | 0.000 |
| NewParserTest | testJSDocAttachment22 | Success | | 0.001 |
| NewParserTest | testInlineJSDocAttachment1 | Success | | 0.000 |
| NewParserTest | testInlineJSDocAttachment2 | Success | | 0.000 |
| NewParserTest | testInlineJSDocAttachment3 | Success | | 0.226 |
| NewParserTest | testInlineJSDocAttachment4 | Success | | 0.000 |
| NewParserTest | testInlineJSDocAttachment5 | Success | | 0.000 |
| NewParserTest | testInlineJSDocAttachment6 | Success | | 0.000 |
| NewParserTest | testIncorrectJSDocDoesNotAlterJSParsing1 | Success | | 0.000 |
| NewParserTest | testIncorrectJSDocDoesNotAlterJSParsing2 | Success | | 0.000 |
| NewParserTest | testIncorrectJSDocDoesNotAlterJSParsing3 | Success | | 0.000 |
| NewParserTest | testIncorrectJSDocDoesNotAlterJSParsing4 | Success | | 0.000 |
| NewParserTest | testIncorrectJSDocDoesNotAlterJSParsing5 | Success | | 0.000 |
| NewParserTest | testIncorrectJSDocDoesNotAlterJSParsing6 | Success | | 0.001 |
| NewParserTest | testIncorrectJSDocDoesNotAlterJSParsing7 | Success | | 0.001 |
| NewParserTest | testIncorrectJSDocDoesNotAlterJSParsing8 | Success | | 0.000 |
| NewParserTest | testIncorrectJSDocDoesNotAlterJSParsing9 | Success | | 0.000 |
| NewParserTest | testUnescapedSlashInRegexpCharClass | Success | | 0.001 |
| NewParserTest | testMalformedRegexp | Success | | 0.001 |
| NewParserTest | testParse | Success | | 0.002 |
| NewParserTest | testAutomaticSemicolonInsertion | Success | | 0.001 |
| NewParserTest | testAutomaticSemicolonInsertionExamplesFromSpec | Success | | 0.001 |
| NewParserTest | testMethodInObjectLiteral | Success | | 0.000 |
| NewParserTest | testExtendedObjectLiteral | Success | | 0.000 |
| NewParserTest | testComputedPropertiesObjLit | Success | | 0.001 |
| NewParserTest | testComputedMethodClass | Success | | 0.001 |
| NewParserTest | testComputedProperty | Success | | 0.000 |
| NewParserTest | testTrailingCommaWarning1 | Success | | 0.001 |
| NewParserTest | testTrailingCommaWarning2 | Success | | 0.000 |
| NewParserTest | testTrailingCommaWarning3 | Success | | 0.001 |
| NewParserTest | testTrailingCommaWarning4 | Success | | 0.000 |
| NewParserTest | testTrailingCommaWarning5 | Success | | 0.000 |
| NewParserTest | testTrailingCommaWarning6 | Success | | 0.000 |
| NewParserTest | testTrailingCommaWarning7 | Success | | 0.000 |
| NewParserTest | testSuspiciousBlockCommentWarning1 | Success | | 0.001 |
| NewParserTest | testSuspiciousBlockCommentWarning2 | Success | | 0.000 |
| NewParserTest | testSuspiciousBlockCommentWarning3 | Success | | 0.000 |
| NewParserTest | testSuspiciousBlockCommentWarning4 | Success | | 0.000 |
| NewParserTest | testSuspiciousBlockCommentWarning5 | Success | | 0.000 |
| NewParserTest | testSuspiciousBlockCommentWarning6 | Success | | 0.000 |
| NewParserTest | testSuspiciousBlockCommentWarning7 | Success | | 0.001 |
| NewParserTest | testSuspiciousBlockCommentWarning8 | Success | | 0.000 |
| NewParserTest | testCatchClauseForbidden | Success | | 0.001 |
| NewParserTest | testConstForbidden | Success | | 0.000 |
| NewParserTest | testAnonymousFunctionExpression | Success | | 0.001 |
| NewParserTest | testArrayDestructuringVar | Success | | 0.000 |
| NewParserTest | testArrayDestructuringInitializer | Success | | 0.001 |
| NewParserTest | testArrayDestructuringTrailingComma | Success | | 0.000 |
| NewParserTest | testArrayDestructuringFnDeclaration | Success | | 0.001 |
| NewParserTest | testObjectDestructuringVar | Success | | 0.001 |
| NewParserTest | testObjectDestructuringVarWithInitializer | Success | | 0.001 |
| NewParserTest | testObjectDestructuringAssign | Success | | 0.000 |
| NewParserTest | testObjectDestructuringAssignWithInitializer | Success | | 0.000 |
| NewParserTest | testObjectDestructuringWithInitializerInvalid | Success | | 0.001 |
| NewParserTest | testObjectDestructuringFnDeclaration | Success | | 0.000 |
| NewParserTest | testObjectDestructuringStringAndNumberKeys | Success | | 0.001 |
| NewParserTest | testObjectDestructuringKeywordKeys | Success | | 0.001 |
| NewParserTest | testObjectDestructuringComplexTarget | Success | | 0.000 |
| NewParserTest | testObjectDestructuringExtraParens | Success | | 0.000 |
| NewParserTest | testMixedDestructuringWithInitializer | Success | | 0.001 |
| NewParserTest | testDestructuringNoRHS | Success | | 0.000 |
| NewParserTest | testComprehensions | Success | | 0.002 |
| NewParserTest | testLetForbidden1 | Success | | 0.001 |
| NewParserTest | testLetForbidden2 | Success | | 0.000 |
| NewParserTest | testLetForbidden3 | Success | | 0.001 |
| NewParserTest | testYieldForbidden | Success | | 0.000 |
| NewParserTest | testGenerator | Success | | 0.001 |
| NewParserTest | testBracelessFunctionForbidden | Success | | 0.000 |
| NewParserTest | testGeneratorsForbidden | Success | | 0.000 |
| NewParserTest | testGettersForbidden1 | Success | | 0.001 |
| NewParserTest | testGettersForbidden2 | Success | | 0.000 |
| NewParserTest | testGettersForbidden3 | Success | | 0.001 |
| NewParserTest | testGettersForbidden4 | Success | | 0.000 |
| NewParserTest | testGettersForbidden5 | Success | | 0.001 |
| NewParserTest | testGettersForbidden6 | Success | | 0.000 |
| NewParserTest | testSettersForbidden | Success | | 0.000 |
| NewParserTest | testSettersForbidden2 | Success | | 0.000 |
| NewParserTest | testFileOverviewJSDoc1 | Success | | 0.000 |
| NewParserTest | testFileOverviewJSDocDoesNotHoseParsing | Success | | 0.001 |
| NewParserTest | testFileOverviewJSDoc2 | Success | | 0.000 |
| NewParserTest | testObjectLiteralDoc1 | Success | | 0.001 |
| NewParserTest | testDuplicatedParam | Success | | 0.003 |
| NewParserTest | testLet | Success | | 0.001 |
| NewParserTest | testYield1 | Success | | 0.000 |
| NewParserTest | testYield2 | Success | | 0.001 |
| NewParserTest | testYield3 | Success | | 0.001 |
| NewParserTest | testStringLineContinuation | Success | | 0.000 |
| NewParserTest | testStringLiteral | Success | | 0.001 |
| NewParserTest | testUseTemplateLiteral | Success | | 0.000 |
| NewParserTest | testTemplateLiteralWithLineContinuation | Error | N/A
java.lang.ArrayIndexOutOfBoundsException
| 0.001 |
| NewParserTest | testTemplateLiteralSubstitution | Success | | 0.000 |
| NewParserTest | testUnterminatedTemplateLiteral | Error | N/A
java.lang.ArrayIndexOutOfBoundsException
| 0.000 |
| NewParserTest | testIncorrectEscapeSequenceInTemplateLiteral | Error | N/A
java.lang.ArrayIndexOutOfBoundsException
| 0.000 |
| NewParserTest | testExponentialLiterals | Success | | 0.000 |
| NewParserTest | testBinaryLiterals | Success | | 0.001 |
| NewParserTest | testOctalLiterals | Error | extra error: Semi-colon expected
java.lang.AssertionError: extra error: Semi-colon expected at com.google.javascript.rhino.testing.TestErrorReporter.error(TestErrorReporter.java:90) at com.google.javascript.jscomp.parsing.ParserRunner$Es6ErrorReporter.reportMessage(ParserRunner.java:141) at com.google.javascript.jscomp.parsing.parser.util.ErrorReporter.reportError(ErrorReporter.java:27) at com.google.javascript.jscomp.parsing.parser.Parser.reportError(Parser.java:2914) at com.google.javascript.jscomp.parsing.parser.Parser.eatPossibleImplicitSemiColon(Parser.java:2656) at com.google.javascript.jscomp.parsing.parser.Parser.parseExpressionStatement(Parser.java:1038) at com.google.javascript.jscomp.parsing.parser.Parser.parseStatementStandard(Parser.java:866) at com.google.javascript.jscomp.parsing.parser.Parser.parseSourceElement(Parser.java:545) at com.google.javascript.jscomp.parsing.parser.Parser.parseScriptElement(Parser.java:184) at com.google.javascript.jscomp.parsing.parser.Parser.parseGlobalSourceElements(Parser.java:166) at com.google.javascript.jscomp.parsing.parser.Parser.parseProgram(Parser.java:151) at com.google.javascript.jscomp.parsing.ParserRunner.parse(ParserRunner.java:102) at com.google.javascript.jscomp.parsing.NewParserTest.parseWarning(NewParserTest.java:2589) at com.google.javascript.jscomp.parsing.NewParserTest.testOctalLiterals(NewParserTest.java:1734)
| 0.000 |
| NewParserTest | testOldStyleOctalLiterals | Success | | 0.000 |
| NewParserTest | testInvalidOctalLiterals | Success | | 0.000 |
| NewParserTest | testInvalidOldStyleOctalLiterals | Success | | 0.001 |
| NewParserTest | testLamestWarningEver | Success | | 0.000 |
| NewParserTest | testUnfinishedComment | Success | | 0.000 |
| NewParserTest | testHtmlStartCommentAtStartOfLine | Success | | 0.001 |
| NewParserTest | testHtmlStartComment | Success | | 0.000 |
| NewParserTest | testHtmlEndCommentAtStartOfLine | Success | | 0.000 |
| NewParserTest | testHtmlEndComment | Success | | 0.000 |
| NewParserTest | testParseBlockDescription | Success | | 0.001 |
| NewParserTest | testUnnamedFunctionStatement | Success | | 0.000 |
| NewParserTest | testReservedKeywords | Success | | 0.001 |
| NewParserTest | testKeywordsAsProperties | Success | | 0.002 |
| NewParserTest | testKeywordsAsPropertiesInExterns1 | Success | | 0.001 |
| NewParserTest | testKeywordsAsPropertiesInExterns2 | Success | | 0.000 |
| NewParserTest | testUnicodeInIdentifiers | Success | | 0.000 |
| NewParserTest | testUnicodePointEscapeInIdentifiers | Success | | 0.000 |
| NewParserTest | testUnicodePointEscapeStringLiterals | Success | | 0.001 |
| NewParserTest | testInvalidUnicodePointEscapeInIdentifiers | Success | | 0.002 |
| NewParserTest | testInvalidUnicodePointEscapeStringLiterals | Success | | 0.001 |
| NewParserTest | testInvalidEscape | Success | | 0.000 |
| NewParserTest | testEOFInUnicodeEscape | Success | | 0.000 |
| NewParserTest | testEndOfIdentifierInUnicodeEscape | Success | | 0.001 |
| NewParserTest | testInvalidUnicodeEscape | Success | | 0.000 |
| NewParserTest | testUnicodeEscapeInvalidIdentifierStart | Success | | 0.001 |
| NewParserTest | testUnicodeEscapeInvalidIdentifierChar | Success | | 0.000 |
| NewParserTest | testKeywordAsIdentifier | Success | | 0.001 |
| NewParserTest | testGetPropFunctionName | Success | | 0.001 |
| NewParserTest | testGetPropFunctionNameIdeMode | Success | | 0.001 |
| NewParserTest | testIdeModePartialTree | Success | | 0.000 |
| NewParserTest | testForEach | Success | | 0.001 |
| NewParserTest | testMisplacedTypeAnnotation1 | Success | | 0.000 |
| NewParserTest | testMisplacedTypeAnnotation2 | Success | | 0.000 |
| NewParserTest | testMisplacedTypeAnnotation3 | Success | | 0.000 |
| NewParserTest | testMisplacedTypeAnnotation4 | Success | | 0.000 |
| NewParserTest | testMisplacedTypeAnnotation5 | Success | | 0.000 |
| NewParserTest | testMisplacedTypeAnnotation6 | Success | | 0.000 |
| NewParserTest | testValidTypeAnnotation1 | Success | | 0.000 |
| NewParserTest | testValidTypeAnnotation2 | Success | | 0.000 |
| NewParserTest | testValidTypeAnnotation3 | Success | | 0.000 |
| NewParserTest | testValidTypeAnnotation4 | Success | | 0.001 |
| NewParserTest | testParsingAssociativity | Success | | 0.000 |
| NewParserTest | testIssue1116 | Success | | 0.001 |
| NewParserTest | testUnterminatedStringLiteral | Success | | 0.000 |
| NewParserTest | testUnterminatedRegExp | Success | | 0.001 |
| NewParserTest | testRegExpFlags | Success | | 0.001 |
| NewParserTest | testES6RegExpFlags | Success | | 0.000 |
| NewParserTest | testClass1 | Success | | 0.001 |
| NewParserTest | testClass2 | Success | | 0.000 |
| NewParserTest | testClass3 | Success | | 0.001 |
| NewParserTest | testClassKeywordsAsMethodNames | Success | | 0.000 |
| NewParserTest | testSuper1 | Success | | 0.000 |
| NewParserTest | testArrow1 | Success | | 0.001 |
| NewParserTest | testArrowInvalid | Success | | 0.000 |
| NewParserTest | testForIn_ES6 | Success | | 0.000 |
| NewParserTest | testForIn_ES5 | Success | | 0.001 |
| NewParserTest | testForInDestructuring | Success | | 0.001 |
| NewParserTest | testForOf1 | Success | | 0.001 |
| NewParserTest | testForOf2 | Success | | 0.000 |
| NewParserTest | testInvalidDestructuring | Success | | 0.001 |
| NewParserTest | testForOfPatterns | Success | | 0.001 |
| NewParserTest | testForOfPatternsWithInitializer | Success | | 0.000 |
| NewParserTest | testShebang | Success | | 0.000 |
| NewParserTest | testLookaheadGithubIssue699 | Success | | 0.002 |
| NewParserTest | testBreak | Success | | 0.001 |
| NewParserTest | testContinue | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testCreateRecordType | Success | | 0.001 |
| TypeDeclarationsIRFactoryTest | testConvertTypeApplication | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertVarArgs | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertRecordType | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertTypeUnion | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertSimpleTypes | Success | | 0.001 |
| TypeDeclarationsIRFactoryTest | testConvertNonNullableType | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertFunctionType | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertFunctionReturnType | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertFunctionThisType | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertNamedTypes | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertRecordTypeWithTypeApplication | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertNullableType | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertFunctionNewType | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertVariableParameters | Success | | 0.000 |
| TypeDeclarationsIRFactoryTest | testConvertOptionalFunctionParameters | Success | | 0.000 |
| TypeSyntaxTest | testFunctionParamDeclaration | Success | | 0.001 |
| TypeSyntaxTest | testFunctionParamDeclaration_defaultValue | Success | | 0.000 |
| TypeSyntaxTest | testFunctionParamDeclaration_arrow | Success | | 0.001 |
| TypeSyntaxTest | testFunctionReturn_arrow | Success | | 0.001 |
| TypeSyntaxTest | testCompositeType | Success | | 0.000 |
| TypeSyntaxTest | testArrayType | Success | | 0.000 |
| TypeSyntaxTest | testArrayType_qualifiedType | Success | | 0.001 |
| TypeSyntaxTest | testParameterizedType | Success | | 0.000 |
| TypeSyntaxTest | testVariableDeclaration | Success | | 0.002 |
| TypeSyntaxTest | testFunctionReturn | Success | | 0.001 |
| TypeSyntaxTest | testMemberVariable | Success | | 0.000 |
| TypeSyntaxTest | testVariableDeclaration_keyword | Success | | 0.002 |
| TypeSyntaxTest | testVariableDeclaration_errorIncomplete | Success | | 0.001 |
| TypeSyntaxTest | testTypeInDocAndSyntax | Success | | 0.000 |
| TypeSyntaxTest | testFunctionParamDeclaration_destructuringArray | Success | | 0.000 |
| TypeSyntaxTest | testFunctionParamDeclaration_destructuringArrayInner | Success | | 0.001 |
| TypeSyntaxTest | testFunctionParamDeclaration_destructuringObject | Success | | 0.000 |
| TypeSyntaxTest | testFunctionReturn_typeInDocAndSyntax | Success | | 0.000 |
| TypeSyntaxTest | testFunctionReturn_typeInJsdocOnly | Success | | 0.001 |
| TypeSyntaxTest | testCompositeType_trailingDot | Success | | 0.000 |
| TypeSyntaxTest | testArrayType_missingClose | Success | | 0.001 |
| TypeSyntaxTest | testParameterizedType_empty | Success | | 0.000 |
| TypeSyntaxTest | testParameterizedType_noArgs | Success | | 0.001 |
| TypeSyntaxTest | testParameterizedType_trailing1 | Success | | 0.000 |
| TypeSyntaxTest | testParameterizedType_trailing2 | Success | | 0.000 |
| TypeSyntaxTest | testMemberVariable_generator | Success | | 0.001 |
| TypeSyntaxTest | testComputedPropertyMemberVariable | Success | | 0.000 |
| TypeSyntaxTest | testMemberVariable_type | Success | | 0.001 |
| TypeSyntaxTest | testMethodType | Success | | 0.001 |
| CharRangesTest | testUnion | Success | | 0.000 |
| CharRangesTest | testEmptyCharRanges | Success | | 0.001 |
| CharRangesTest | testAgainstRegularImplementation | Success | | 0.035 |
| CharRangesTest | testCharRangesFactories | Success | | 0.000 |
| CharRangesTest | testRangeConstructor | Success | | 0.000 |
| CharRangesTest | testDupeMembers | Success | | 0.000 |
| CharRangesTest | testDifference | Success | | 0.001 |
| ApplySuggestedFixesTest | testApplyCodeReplacements_overlapsAreErrors | Success | | 0.003 |
| ApplySuggestedFixesTest | testApplyCodeReplacements_noOverlapsSucceed | Success | | 0.000 |
| ApplySuggestedFixesTest | testApplyCodeReplacements | Success | | 0.000 |
| ApplySuggestedFixesTest | testApplyCodeReplacements_insertion | Success | | 0.000 |
| ApplySuggestedFixesTest | testApplyCodeReplacements_deletion | Success | | 0.000 |
| ApplySuggestedFixesTest | testApplyCodeReplacements_boundaryCases | Success | | 0.000 |
| ApplySuggestedFixesTest | testApplyCodeReplacements_multipleReplacements | Success | | 0.000 |
| ApplySuggestedFixesTest | testApplySuggestedFixes | Success | | 0.013 |
| ApplySuggestedFixesTest | testApplySuggestedFixes_insideJSDoc | Success | | 0.001 |
| ApplySuggestedFixesTest | testApplySuggestedFixes_multipleFixesInJsdoc | Success | | 0.001 |
| ApplySuggestedFixesTest | testApplySuggestedFixes_noFixes | Success | | 0.000 |
| ApplySuggestedFixesTest | testApplySuggestedFixes_missingCodeForFile | Success | | 0.001 |
| ErrorToFixMapperTest | testDebugger | Success | | 0.005 |
| ErrorToFixMapperTest | testRemoveCast | Success | | 0.002 |
| MatchersTest | testEnum | Success | | 0.003 |
| MatchersTest | testNot | Success | | 0.004 |
| MatchersTest | testJsDocType | Success | | 0.002 |
| MatchersTest | testAnything | Success | | 0.001 |
| MatchersTest | testAllOf | Success | | 0.002 |
| MatchersTest | testAnyOf | Success | | 0.002 |
| MatchersTest | testConstructor_any | Success | | 0.002 |
| MatchersTest | testConstructor_specificClass | Success | | 0.001 |
| MatchersTest | testConstructor_differentConstructorTypes | Success | | 0.003 |
| MatchersTest | testNewClass | Success | | 0.002 |
| MatchersTest | testNewClass_specificClass | Success | | 0.002 |
| MatchersTest | testFunctionCall_any | Success | | 0.001 |
| MatchersTest | testFunctionCall_numArgs | Success | | 0.002 |
| MatchersTest | testFunctionCall_static | Success | | 0.002 |
| MatchersTest | testFunctionCall_prototype | Success | | 0.002 |
| MatchersTest | testEnumOfType | Success | | 0.002 |
| MatchersTest | testAssignmentWithRhs | Success | | 0.002 |
| MatchersTest | testPrototypeDeclarations | Success | | 0.002 |
| MatchersTest | testPropertyAccess | Success | | 0.001 |
| MatchersTest | testPropertyAccess_instance | Success | | 0.001 |
| MatchersTest | testConstructorPropertyDeclaration | Success | | 0.002 |
| MatchersTest | testIsPrivate | Success | | 0.002 |
| RefasterJsScannerTest | testInitialize_missingTemplates | Success | | 0.004 |
| RefasterJsScannerTest | testInitialize_missingAfterTemplate | Success | | 0.001 |
| RefasterJsScannerTest | test_simple | Success | | 0.007 |
| RefasterJsScannerTest | test_semicolonCorrect | Success | | 0.003 |
| RefasterJsScannerTest | testInitialize_duplicateTemplateName | Success | | 0.001 |
| RefasterJsScannerTest | testInitialize_emptyBeforeTemplates | Success | | 0.001 |
| RefasterJsScannerTest | testInitialize_success | Success | | 0.002 |
| RefasterJsScannerTest | test_withTypes | Success | | 0.003 |
| RefasterJsScannerTest | test_multiLines | Success | | 0.003 |
| RefasterJsScannerTest | test_replaceFunctionArgument | Success | | 0.003 |
| RefasterJsScannerTest | test_replaceLeftHandSideOfAssignment | Success | | 0.004 |
| RefasterJsScannerTest | test_replaceRightHandSideOfAssignment | Success | | 0.003 |
| RefasterJsScannerTest | test_doesNotAddSpuriousNewline | Success | | 0.004 |
| RefasterJsScannerTest | test_throwStatements | Success | | 0.008 |
| RefasterJsScannerTest | test_whileStatements | Success | | 0.002 |
| RefasterJsScannerTest | test_doWhileStatements | Success | | 0.002 |
| RefasterJsScannerTest | test_returnStatement | Success | | 0.004 |
| RefasterJsScannerTest | test_switchStatement | Success | | 0.002 |
| RefasterJsScannerTest | test_caseStatement | Success | | 0.003 |
| RefasterJsScannerTest | test_forStatement | Success | | 0.011 |
| RefasterJsScannerTest | test_comparisons | Success | | 0.003 |
| RefasterJsScannerTest | test_arrayAccess | Success | | 0.002 |
| SuggestedFixTest | testDelete_spaceBeforeNode | Success | | 0.001 |
| SuggestedFixTest | testInsertBefore | Success | | 0.001 |
| SuggestedFixTest | testDelete | Success | | 0.000 |
| SuggestedFixTest | testDelete_dontDeleteSpaceBeforeNode | Success | | 0.000 |
| SuggestedFixTest | testDelete_multipleVarDeclaration | Success | | 0.000 |
| SuggestedFixTest | testRenameStringKey | Success | | 0.000 |
| SuggestedFixTest | testRenameProperty_justPropertyName | Success | | 0.001 |
| SuggestedFixTest | testRenameProperty_entireName | Success | | 0.000 |
| SuggestedFixTest | testRenameFunction_justFunctionName | Success | | 0.000 |
| SuggestedFixTest | testRenameFunction_entireName | Success | | 0.000 |
| SuggestedFixTest | testReplace | Success | | 0.001 |
| SuggestedFixTest | testReplace_functionArgument | Success | | 0.001 |
| SuggestedFixTest | testReplace_leftHandSideAssignment | Success | | 0.000 |
| SuggestedFixTest | testAddCast | Success | | 0.001 |
| SuggestedFixTest | testRemoveCast_complexStatement | Success | | 0.000 |
| SuggestedFixTest | testChangeJsDocType | Success | | 0.000 |
| SuggestedFixTest | testChangeJsDocType2 | Success | | 0.001 |
| SuggestedFixTest | testChangeJsDocType_privateType | Success | | 0.000 |
| SuggestedFixTest | testInsertArguments | Success | | 0.000 |
| SuggestedFixTest | testInsertArguments_emptyArguments | Success | | 0.001 |
| SuggestedFixTest | testInsertArguments_notFirstArgument | Success | | 0.000 |
| SuggestedFixTest | testInsertArguments_lastArgument | Success | | 0.001 |
| SuggestedFixTest | testAddGoogRequire | Success | | 0.000 |
| SuggestedFixTest | testAddGoogRequire_afterAllOtherGoogRequires | Success | | 0.001 |
| SuggestedFixTest | testAddGoogRequire_noGoogRequire | Success | | 0.000 |
| SuggestedFixTest | testAddGoogRequire_noGoogRequireOrGoogProvide | Success | | 0.000 |
| SuggestedFixTest | testAddGoogRequire_alreadyExists | Success | | 0.000 |
| SuggestedFixTest | testRemoveGoogRequire | Success | | 0.000 |
| SuggestedFixTest | testRemoveGoogRequire_doesNotExist | Success | | 0.001 |
| SuggestedFixTest | testRemoveCast | Success | | 0.001 |
| IRTest | testVar | Success | | 0.000 |
| IRTest | testFunction | Success | | 0.000 |
| IRTest | testReturn | Success | | 0.000 |
| IRTest | testThrow | Success | | 0.000 |
| IRTest | testEmpty | Success | | 0.000 |
| IRTest | testIf | Success | | 0.000 |
| IRTest | testAdd | Success | | 0.000 |
| IRTest | testParamList | Success | | 0.001 |
| IRTest | testBlock | Success | | 0.000 |
| IRTest | testScript | Success | | 0.000 |
| IRTest | testScriptThrows | Success | | 0.000 |
| IRTest | testExprResult | Success | | 0.000 |
| IRTest | testIssue727_1 | Success | | 0.000 |
| IRTest | testIssue727_2 | Success | | 0.000 |
| IRTest | testIssue727_3 | Success | | 0.000 |
| JSDocInfoTest | testSetType | Success | | 0.000 |
| JSDocInfoTest | testSetReturnType | Success | | 0.000 |
| JSDocInfoTest | testSetTypeAndVisibility | Success | | 0.000 |
| JSDocInfoTest | testSetReturnTypeAndBaseType | Success | | 0.000 |
| JSDocInfoTest | testSetEnumParameterType | Success | | 0.000 |
| JSDocInfoTest | testMultipleSetType | Success | | 0.000 |
| JSDocInfoTest | testVisibilityOrdinal | Success | | 0.000 |
| JSDocInfoTest | testMultipleSetType2 | Success | | 0.000 |
| JSDocInfoTest | testMultipleSetType3 | Success | | 0.000 |
| JSDocInfoTest | testSetTypedefType | Success | | 0.000 |
| JSDocInfoTest | testSetConstant | Success | | 0.000 |
| JSDocInfoTest | testSetConstructor | Success | | 0.000 |
| JSDocInfoTest | testSetDefine | Success | | 0.000 |
| JSDocInfoTest | testSetHidden | Success | | 0.001 |
| JSDocInfoTest | testSetShouldPreserveTry | Success | | 0.000 |
| JSDocInfoTest | testSetOverride | Success | | 0.000 |
| JSDocInfoTest | testSetExport | Success | | 0.000 |
| JSDocInfoTest | testSetNoAlias | Success | | 0.000 |
| JSDocInfoTest | testSetDeprecated | Success | | 0.000 |
| JSDocInfoTest | testMultipleSetFlags1 | Success | | 0.000 |
| JSDocInfoTest | testSetFileOverviewWithDocumentationOff | Success | | 0.000 |
| JSDocInfoTest | testSetFileOverviewWithDocumentationOn | Success | | 0.000 |
| JSDocInfoTest | testSetSuppressions | Success | | 0.000 |
| JSDocInfoTest | testSetModifies | Success | | 0.000 |
| JSDocInfoTest | testAddSingleTemplateTypeName | Success | | 0.000 |
| JSDocInfoTest | testAddMultipleTemplateTypeName | Success | | 0.001 |
| JSDocInfoTest | testFailToAddTemplateTypeName | Success | | 0.000 |
| NodeTest | testVarArgs1 | Success | | 0.000 |
| NodeTest | testVarArgs2 | Success | | 0.000 |
| NodeTest | testMergeExtractNormal | Success | | 0.000 |
| NodeTest | testMergeExtractErroneous | Success | | 0.000 |
| NodeTest | testMergeOverflowGraciously | Success | | 0.001 |
| NodeTest | testCheckTreeEqualsImplSame | Success | | 0.000 |
| NodeTest | testCheckTreeEqualsImplDifferentType | Success | | 0.000 |
| NodeTest | testCheckTreeEqualsImplDifferentChildCount | Success | | 0.000 |
| NodeTest | testCheckTreeEqualsImplDifferentChild | Success | | 0.000 |
| NodeTest | testCheckTreeEqualsSame | Success | | 0.000 |
| NodeTest | testCheckTreeEqualsStringDifferent | Success | | 0.000 |
| NodeTest | testCheckTreeEqualsBooleanSame | Success | | 0.000 |
| NodeTest | testCheckTreeEqualsBooleanDifferent | Success | | 0.000 |
| NodeTest | testCheckTreeEqualsSlashVDifferent | Success | | 0.000 |
| NodeTest | testCheckTreeEqualsImplDifferentIncProp | Success | | 0.000 |
| NodeTest | testCheckTreeTypeAwareEqualsSame | Success | | 0.000 |
| NodeTest | testCheckTreeTypeAwareEqualsSameNull | Success | | 0.000 |
| NodeTest | testCheckTreeTypeAwareEqualsDifferent | Success | | 0.001 |
| NodeTest | testCheckTreeTypeAwareEqualsDifferentNull | Success | | 0.000 |
| NodeTest | testVarArgs3 | Success | | 0.000 |
| NodeTest | testFileLevelJSDocAppender | Success | | 0.000 |
| NodeTest | testIsQualifiedName | Success | | 0.001 |
| NodeTest | testMatchesQualifiedNameX | Success | | 0.000 |
| NodeTest | testMatchesQualifiedName1 | Failure | N/A
junit.framework.AssertionFailedError at com.google.javascript.rhino.NodeTest.testMatchesQualifiedName1(NodeTest.java:247)
| 0.000 |
| NodeTest | testMatchesQualifiedName2 | Error | String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1911) at com.google.javascript.rhino.NodeTest.qname(NodeTest.java:352) at com.google.javascript.rhino.NodeTest.testMatchesQualifiedName2(NodeTest.java:297)
| 0.000 |
| NodeTest | testCloneAnnontations | Success | | 0.000 |
| NodeTest | testSharedProps1 | Success | | 0.000 |
| NodeTest | testSharedProps2 | Success | | 0.000 |
| NodeTest | testSharedProps3 | Success | | 0.000 |
| NodeTest | testBooleanProp | Success | | 0.000 |
| NodeTest | testCloneAnnontations2 | Success | | 0.000 |
| NodeTest | testGetIndexOfChild | Failure | expected:<-1> but was:<1>
junit.framework.AssertionFailedError: expected:<-1> but was:<1> at com.google.javascript.rhino.NodeTest.testGetIndexOfChild(NodeTest.java:463)
| 0.001 |
| NodeTest | testCopyInformationFrom | Success | | 0.000 |
| NodeTest | testUseSourceInfoIfMissingFrom | Success | | 0.000 |
| NodeTest | testUseSourceInfoFrom | Success | | 0.001 |
| NodeTest | testInvalidSourceOffset | Success | | 0.000 |
| NodeTest | testQualifiedName | Success | | 0.000 |
| BooleanLiteralSetTest | testUnion | Success | | 0.000 |
| BooleanLiteralSetTest | testIntersection | Success | | 0.000 |
| BooleanLiteralSetTest | testGet | Success | | 0.000 |
| BooleanLiteralSetTest | testContains | Success | | 0.000 |
| EnumElementTypeTest | testSubtypeRelation | Success | | 0.000 |
| EnumElementTypeTest | testMeet | Success | | 0.000 |
| FunctionParamBuilderTest | testBuild | Success | | 0.000 |
| FunctionTypeTest | testPrint | Success | | 0.000 |
| FunctionTypeTest | testIsEquivalentTo | Success | | 0.001 |
| FunctionTypeTest | testRecursiveFunction | Success | | 0.000 |
| FunctionTypeTest | testDefaultReturnType | Success | | 0.000 |
| FunctionTypeTest | testSupAndInfOfReturnTypes | Success | | 0.001 |
| FunctionTypeTest | testSupAndInfOfReturnTypesWithDifferentParams | Success | | 0.000 |
| FunctionTypeTest | testSupAndInfWithDifferentParams | Success | | 0.001 |
| FunctionTypeTest | testSupAndInfWithDifferentThisTypes | Success | | 0.000 |
| FunctionTypeTest | testSupAndInfWithDifferentThisTypes2 | Success | | 0.000 |
| FunctionTypeTest | testSupAndInfOfReturnTypesWithNumOfParams | Success | | 0.000 |
| FunctionTypeTest | testSubtypeWithInterfaceThisType | Success | | 0.000 |
| FunctionTypeTest | testOrdinaryFunctionPrototype | Success | | 0.001 |
| FunctionTypeTest | testCtorWithPrototypeSet | Success | | 0.000 |
| FunctionTypeTest | testEmptyFunctionTypes | Success | | 0.001 |
| FunctionTypeTest | testInterfacePrototypeChain1 | Success | | 0.000 |
| FunctionTypeTest | testInterfacePrototypeChain2 | Success | | 0.000 |
| FunctionTypeTest | testInterfacePrototypeChain3 | Success | | 0.001 |
| FunctionTypeTest | testIsEquivalentToParams | Success | | 0.000 |
| FunctionTypeTest | testIsEquivalentOptAndVarArgs | Success | | 0.001 |
| FunctionTypeTest | testBindSignature | Success | | 0.000 |
| FunctionTypeTest | testCallSignature1 | Success | | 0.000 |
| FunctionTypeTest | testCallSignature2 | Success | | 0.001 |
| FunctionTypeTest | testTemplatedFunctionDerivedFunctions | Success | | 0.000 |
| FunctionTypeTest | testSetImplementsOnInterface | Success | | 0.001 |
| JSTypeRegistryTest | testGetBuiltInType | Success | | 0.000 |
| JSTypeRegistryTest | testGetDeclaredType | Success | | 0.000 |
| JSTypeRegistryTest | testGetDeclaredTypeInNamespace | Success | | 0.000 |
| JSTypeRegistryTest | testTypeAsNamespace | Success | | 0.000 |
| JSTypeRegistryTest | testPropertyOnManyTypes | Success | | 0.017 |
| JSTypeRegistryTest | testGenerationIncrementing1 | Success | | 0.001 |
| JSTypeRegistryTest | testGenerationIncrementing2 | Success | | 0.001 |
| JSTypeTest | testFunctionType | Success | | 0.002 |
| JSTypeTest | testArrayType | Success | | 0.001 |
| JSTypeTest | testUnknownType | Success | | 0.000 |
| JSTypeTest | testCreateRecordType | Success | | 0.001 |
| JSTypeTest | testUniversalConstructorType | Success | | 0.000 |
| JSTypeTest | testNoObjectType | Success | | 0.001 |
| JSTypeTest | testNoType | Success | | 0.000 |
| JSTypeTest | testNoResolvedType | Failure | N/A
junit.framework.AssertionFailedError at com.google.javascript.rhino.jstype.JSTypeTest.testNoResolvedType(JSTypeTest.java:681)
| 0.000 |
| JSTypeTest | testCheckedUnknownType | Success | | 0.000 |
| JSTypeTest | testAllType | Success | | 0.001 |
| JSTypeTest | testTheObjectType | Success | | 0.000 |
| JSTypeTest | testNumberObjectType | Success | | 0.000 |
| JSTypeTest | testNumberValueType | Success | | 0.001 |
| JSTypeTest | testDateType | Success | | 0.001 |
| JSTypeTest | testRegExpType | Success | | 0.001 |
| JSTypeTest | testStringObjectType | Success | | 0.001 |
| JSTypeTest | testStringValueType | Success | | 0.000 |
| JSTypeTest | testFunctionInstanceType | Success | | 0.001 |
| JSTypeTest | testRecordTypeSubtyping | Success | | 0.000 |
| JSTypeTest | testRecordTypeSubtypingWithInferredProperties | Success | | 0.000 |
| JSTypeTest | testRecordTypeLeastSuperType1 | Success | | 0.000 |
| JSTypeTest | testRecordTypeLeastSuperType2 | Success | | 0.000 |
| JSTypeTest | testRecordTypeLeastSuperType3 | Success | | 0.000 |
| JSTypeTest | testRecordTypeLeastSuperType4 | Success | | 0.001 |
| JSTypeTest | testRecordTypeGreatestSubType1 | Success | | 0.001 |
| JSTypeTest | testRecordTypeGreatestSubType2 | Success | | 0.000 |
| JSTypeTest | testRecordTypeGreatestSubType3 | Success | | 0.001 |
| JSTypeTest | testRecordTypeGreatestSubType4 | Success | | 0.000 |
| JSTypeTest | testRecordTypeGreatestSubType5 | Success | | 0.001 |
| JSTypeTest | testRecordTypeGreatestSubType6 | Success | | 0.000 |
| JSTypeTest | testRecordTypeGreatestSubType7 | Success | | 0.001 |
| JSTypeTest | testRecordTypeGreatestSubType8 | Success | | 0.000 |
| JSTypeTest | testApplyOfDateMethod | Success | | 0.001 |
| JSTypeTest | testCallOfDateMethod | Success | | 0.000 |
| JSTypeTest | testFunctionTypeRepresentation | Success | | 0.000 |
| JSTypeTest | testFunctionTypeRelationships | Success | | 0.003 |
| JSTypeTest | testProxiedFunctionTypeRelationships | Success | | 0.000 |
| JSTypeTest | testFunctionSubTypeRelationships | Success | | 0.002 |
| JSTypeTest | testFunctionPrototypeAndImplicitPrototype1 | Success | | 0.000 |
| JSTypeTest | testFunctionPrototypeAndImplicitPrototype2 | Success | | 0.000 |
| JSTypeTest | testJSDocOnPrototypeProperty | Success | | 0.000 |
| JSTypeTest | testIsVoidable | Success | | 0.000 |
| JSTypeTest | testVoidType | Success | | 0.001 |
| JSTypeTest | testBooleanValueType | Success | | 0.001 |
| JSTypeTest | testBooleanObjectType | Success | | 0.000 |
| JSTypeTest | testEnumType | Success | | 0.001 |
| JSTypeTest | testEnumElementType | Success | | 0.001 |
| JSTypeTest | testStringEnumType | Success | | 0.001 |
| JSTypeTest | testStringObjectEnumType | Success | | 0.000 |
| JSTypeTest | testGoogBar | Success | | 0.001 |
| JSTypeTest | testObjectTypePropertiesCount | Success | | 0.000 |
| JSTypeTest | testDefineProperties | Success | | 0.001 |
| JSTypeTest | testObjectTypePropertiesCountWithShadowing | Success | | 0.000 |
| JSTypeTest | testNamedGoogBar | Success | | 0.000 |
| JSTypeTest | testPrototypeChaining | Success | | 0.000 |
| JSTypeTest | testInstanceFunctionChaining | Success | | 0.001 |
| JSTypeTest | testCanTestForEqualityWithCornerCases | Failure | N/A
junit.framework.AssertionFailedError at com.google.javascript.rhino.jstype.JSTypeTest.assertCanTestForEqualityWith(JSTypeTest.java:4143) at com.google.javascript.rhino.jstype.JSTypeTest.testCanTestForEqualityWithCornerCases(JSTypeTest.java:4065)
| 0.000 |
| JSTypeTest | testTestForEquality | Failure | expected:<unknown> but was:<false>
junit.framework.AssertionFailedError: expected:<unknown> but was:<false> at com.google.javascript.rhino.jstype.JSTypeTest.compare(JSTypeTest.java:4138) at com.google.javascript.rhino.jstype.JSTypeTest.testTestForEquality(JSTypeTest.java:4088)
| 0.000 |
| JSTypeTest | testSubtypingSimpleTypes | Success | | 0.001 |
| JSTypeTest | testSubtypingObjectTopOfObjects | Success | | 0.000 |
| JSTypeTest | testSubtypingFunctionPrototypeType | Success | | 0.000 |
| JSTypeTest | testSubtypingFunctionFixedArgs | Success | | 0.001 |
| JSTypeTest | testSubtypingFunctionMultipleFixedArgs | Success | | 0.000 |
| JSTypeTest | testSubtypingFunctionFixedArgsNotMatching | Success | | 0.001 |
| JSTypeTest | testSubtypingFunctionVariableArgsOneOnly | Success | | 0.001 |
| JSTypeTest | testSubtypingFunctionVariableArgsBoth | Success | | 0.000 |
| JSTypeTest | testSubtypingMostGeneralFunction | Success | | 0.001 |
| JSTypeTest | testSymmetryOfTestForEquality | Failure | testForEquality not symmetrical:
typeA: null
typeB: (not.resolved.named.type|null)
a.testForEquality(b): unknown
b.testForEquality(a): true
junit.framework.AssertionFailedError: testForEquality not symmetrical: typeA: null typeB: (not.resolved.named.type|null) a.testForEquality(b): unknown b.testForEquality(a): true
at com.google.javascript.rhino.jstype.JSTypeTest.testSymmetryOfTestForEquality(JSTypeTest.java:4638)
| 0.002 |
| JSTypeTest | testSymmetryOfLeastSupertype | Success | | 0.048 |
| JSTypeTest | testWeirdBug | Success | | 0.001 |
| JSTypeTest | testSymmetryOfGreatestSubtype | Success | | 0.025 |
| JSTypeTest | testReflexivityOfLeastSupertype | Success | | 0.001 |
| JSTypeTest | testReflexivityOfGreatestSubtype | Success | | 0.000 |
| JSTypeTest | testLeastSupertypeUnresolvedNamedType | Success | | 0.000 |
| JSTypeTest | testLeastSupertypeUnresolvedNamedType2 | Success | | 0.000 |
| JSTypeTest | testLeastSupertypeUnresolvedNamedType3 | Success | | 0.001 |
| JSTypeTest | testSubclassOfUnresolvedNamedType | Success | | 0.000 |
| JSTypeTest | testSupertypeOfProxiedFunctionTypes | Success | | 0.001 |
| JSTypeTest | testTypeOfThisIsProxied | Success | | 0.000 |
| JSTypeTest | testNamedTypeEquals | Success | | 0.001 |
| JSTypeTest | testNamedTypeEquals2 | Success | | 0.002 |
| JSTypeTest | testForwardDeclaredNamedTypeEquals | Failure | N/A
junit.framework.AssertionFailedError at com.google.javascript.rhino.jstype.JSTypeTest.testForwardDeclaredNamedTypeEquals(JSTypeTest.java:4875)
| 0.002 |
| JSTypeTest | testForwardDeclaredNamedType | Success | | 0.002 |
| JSTypeTest | testGreatestSubtypeSimpleTypes | Success | | 0.002 |
| JSTypeTest | testSubtypingDerivedExtendsNamedBaseType | Success | | 0.001 |
| JSTypeTest | testNamedSubtypeChain | Success | | 0.007 |
| JSTypeTest | testRecordSubtypeChain | Success | | 0.027 |
| JSTypeTest | testRecordAndObjectChain2 | Success | | 0.004 |
| JSTypeTest | testRecordAndObjectChain3 | Success | | 0.003 |
| JSTypeTest | testNullableNamedTypeChain | Success | | 0.032 |
| JSTypeTest | testEnumTypeChain | Success | | 0.003 |
| JSTypeTest | testFunctionSubtypeChain | Success | | 0.012 |
| JSTypeTest | testFunctionUnionSubtypeChain | Success | | 0.015 |
| JSTypeTest | testConstructorSubtypeChain | Success | | 0.007 |
| JSTypeTest | testGoogBarSubtypeChain | Success | | 0.003 |
| JSTypeTest | testConstructorWithArgSubtypeChain | Success | | 0.003 |
| JSTypeTest | testInterfaceInstanceSubtypeChain | Success | | 0.009 |
| JSTypeTest | testInterfaceInheritanceSubtypeChain | Success | | 0.004 |
| JSTypeTest | testAnonymousObjectChain | Success | | 0.003 |
| JSTypeTest | testAnonymousEnumElementChain | Success | | 0.003 |
| JSTypeTest | testTemplatizedArrayChain | Success | | 0.003 |
| JSTypeTest | testTemplatizedArrayChain2 | Success | | 0.005 |
| JSTypeTest | testTemplatizedObjectChain | Success | | 0.004 |
| JSTypeTest | testMixedTemplatizedTypeChain | Success | | 0.008 |
| JSTypeTest | testTemplatizedTypeSubtypes | Success | | 0.002 |
| JSTypeTest | testTemplatizedTypeRelations | Success | | 0.001 |
| JSTypeTest | testRestrictedTypeGivenToBoolean | Success | | 0.001 |
| JSTypeTest | testRegisterProperty | Error | Expected: NoResolvedType
Actual : None
java.lang.AssertionError: Expected: NoResolvedType Actual : None at com.google.javascript.rhino.testing.Asserts.assertTypeEquals(Asserts.java:109) at com.google.javascript.rhino.testing.Asserts.assertTypeEquals(Asserts.java:99) at com.google.javascript.rhino.testing.BaseJSTypeTestCase.assertTypeEquals(BaseJSTypeTestCase.java:595) at com.google.javascript.rhino.jstype.JSTypeTest.testRegisterProperty(JSTypeTest.java:5609)
| 0.001 |
| JSTypeTest | testRegisterPropertyMemoization | Success | | 0.000 |
| JSTypeTest | testGreatestSubtypeWithProperty | Success | | 0.000 |
| JSTypeTest | testGoodSetPrototypeBasedOn | Success | | 0.000 |
| JSTypeTest | testLateSetPrototypeBasedOn | Success | | 0.001 |
| JSTypeTest | testGetTypeUnderEquality1 | Success | | 0.003 |
| JSTypeTest | testGetTypesUnderEquality2 | Success | | 0.001 |
| JSTypeTest | testGetTypesUnderEquality3 | Success | | 0.001 |
| JSTypeTest | testGetTypesUnderEquality4 | Success | | 0.002 |
| JSTypeTest | testGetTypesUnderEquality5 | Success | | 0.001 |
| JSTypeTest | testGetTypesUnderEquality6 | Success | | 0.001 |
| JSTypeTest | testGetTypesUnderInequality1 | Success | | 0.001 |
| JSTypeTest | testGetTypesUnderInequality2 | Success | | 0.001 |
| JSTypeTest | testGetTypesUnderInequality3 | Success | | 0.002 |
| JSTypeTest | testGetTypesUnderInequality4 | Success | | 0.001 |
| JSTypeTest | testCreateOptionalType | Success | | 0.001 |
| JSTypeTest | testCreateAnonymousObjectType | Success | | 0.001 |
| JSTypeTest | testCreateAnonymousObjectType2 | Success | | 0.001 |
| JSTypeTest | testCreateObjectType | Success | | 0.001 |
| JSTypeTest | testBug903110 | Success | | 0.001 |
| JSTypeTest | testBug904123 | Success | | 0.001 |
| JSTypeTest | testHasOwnProperty | Success | | 0.001 |
| JSTypeTest | testNamedTypeHasOwnProperty | Success | | 0.001 |
| JSTypeTest | testInterfaceHasOwnProperty | Success | | 0.002 |
| JSTypeTest | testGetPropertyNames | Success | | 0.001 |
| JSTypeTest | testGetAndSetJSDocInfoWithNamedType | Success | | 0.001 |
| JSTypeTest | testGetAndSetJSDocInfoWithObjectTypes | Success | | 0.002 |
| JSTypeTest | testGetAndSetJSDocInfoWithNoType | Success | | 0.001 |
| JSTypeTest | testObjectGetSubTypes | Success | | 0.001 |
| JSTypeTest | testImplementingType | Success | | 0.001 |
| JSTypeTest | testIsTemplatedType | Failure | N/A
junit.framework.AssertionFailedError at com.google.javascript.rhino.jstype.JSTypeTest.testIsTemplatedType(JSTypeTest.java:6076)
| 0.001 |
| JSTypeTest | testTemplatizedType | Success | | 0.001 |
| JSTypeTest | testPartiallyTemplatizedType | Success | | 0.001 |
| JSTypeTest | testCanCastTo | Success | | 0.001 |
| JSTypeTest | testObjectType | Success | | 0.001 |
| JSTypeTest | testNullType | Success | | 0.001 |
| JSTypeTest | testRecordType | Success | | 0.001 |
| NamedTypeTest | testNamedTypeProperties | Success | | 0.002 |
| NamedTypeTest | testActiveXObjectResolve | Success | | 0.001 |
| PrototypeObjectTypeTest | testToString | Success | | 0.001 |
| RecordTypeTest | testRecursiveRecord | Success | | 0.001 |
| RecordTypeTest | testLongToString | Success | | 0.001 |
| RecordTypeTest | testSupAndInf | Success | | 0.002 |
| RecordTypeTest | testSubtypeWithUnknowns | Success | | 0.001 |
| RecordTypeTest | testSubtypeWithUnknowns2 | Success | | 0.001 |
| RecordTypeTest | testSubtypeWithFunctionProps | Success | | 0.001 |
| RecordTypeTest | testSubtypeWithManyProps | Success | | 0.001 |
| TemplatizedTypeTest | testTemplatizedType | Success | | 0.000 |
| TemplatizedTypeTest | testPrint1 | Success | | 0.000 |
| TemplatizedTypeTest | testPrint2 | Success | | 0.001 |
| TemplatizedTypeTest | testPrint3 | Success | | 0.001 |
| TemplatizedTypeTest | testDifferentRawTypes | Success | | 0.000 |
| TemplatizedTypeTest | testCustomTemplatizedType | Success | | 0.000 |
| TernaryValueTest | testNot | Success | | 0.000 |
| TernaryValueTest | testAnd | Success | | 0.000 |
| TernaryValueTest | testToString | Success | | 0.001 |
| TernaryValueTest | testOrdinal | Success | | 0.000 |
| TernaryValueTest | testOr | Success | | 0.000 |
| TernaryValueTest | testXor | Success | | 0.000 |
| TernaryValueTest | testToBoolean | Success | | 0.000 |
| UnionTypeBuilderTest | testAllType | Success | | 0.001 |
| UnionTypeBuilderTest | testEmptyUnion | Success | | 0.001 |
| UnionTypeBuilderTest | testUnionTypes | Success | | 0.001 |
| UnionTypeBuilderTest | testUnknownTypes | Success | | 0.001 |
| UnionTypeBuilderTest | testRemovalOfDupes | Success | | 0.001 |
| UnionTypeBuilderTest | testRemovalOfDupes2 | Success | | 0.001 |
| UnionTypeBuilderTest | testRemovalOfDupes3 | Success | | 0.000 |
| UnionTypeTest | testUnionType | Error | Both types must be null, or both must be non-null number,null expected:<true> but was:<false>
java.lang.AssertionError: Both types must be null, or both must be non-null number,null expected:<true> but was:<false> at com.google.javascript.rhino.testing.Asserts.assertTypeEquals(Asserts.java:103) at com.google.javascript.rhino.testing.Asserts.assertTypeEquals(Asserts.java:99) at com.google.javascript.rhino.jstype.UnionTypeTest.testUnionType(UnionTypeTest.java:102)
| 0.002 |
| UnionTypeTest | testIsEquivalentTo | Success | | 0.001 |
| UnionTypeTest | testGreatestSubtypeUnionTypes1 | Success | | 0.001 |
| UnionTypeTest | testGreatestSubtypeUnionTypes2 | Success | | 0.001 |
| UnionTypeTest | testGreatestSubtypeUnionTypes3 | Success | | 0.001 |
| UnionTypeTest | testGreatestSubtypeUnionTypes4 | Success | | 0.001 |
| UnionTypeTest | testGreatestSubtypeUnionTypes5 | Success | | 0.001 |
| UnionTypeTest | testSubtypingUnionTypes | Success | | 0.002 |
| UnionTypeTest | testSpecialUnionCanAssignTo | Success | | 0.001 |
| UnionTypeTest | testCreateUnionType | Success | | 0.000 |
| UnionTypeTest | testUnionWithUnknown | Success | | 0.001 |
| UnionTypeTest | testGetRestrictedUnion1 | Success | | 0.001 |
| UnionTypeTest | testGetRestrictedUnion2 | Success | | 0.001 |
| UnionTypeTest | testProxyUnionType | Success | | 0.002 |
| UnionTypeTest | testCollapseUnion1 | Success | | 0.001 |
| UnionTypeTest | testCollapseUnion2 | Success | | 0.001 |
| UnionTypeTest | testCollapseUnion3 | Success | | 0.001 |
| UnionTypeTest | testCollapseUnion4 | Success | | 0.000 |
| UnionTypeTest | testCollapseProxyUnion | Success | | 0.001 |
| UnionTypeTest | testShallowEquality | Success | | 0.001 |